From aa7a456ae72bbdee7dc80e65572e357634c9006c Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Mon, 23 Nov 2015 13:42:19 +0700 Subject: [PATCH] Improve pagination --- system/plugins/urlify/URLify.php | 6 +++--- themes/blog/main.html.php | 10 +--------- themes/blog/profile.html.php | 15 ++++---------- themes/clean/css/style.css | 42 ++++++++++++++++++++-------------------- themes/clean/profile.html.php | 1 + themes/default/profile.html.php | 5 +++-- themes/logs/profile.html.php | 5 +++-- 7 files changed, 36 insertions(+), 48 deletions(-) diff --git a/system/plugins/urlify/URLify.php b/system/plugins/urlify/URLify.php index 823f843..a6db25b 100644 --- a/system/plugins/urlify/URLify.php +++ b/system/plugins/urlify/URLify.php @@ -75,7 +75,7 @@ class URLify { 'П' => 'P', 'Р' => 'R', 'С' => 'S', 'Т' => 'T', 'У' => 'U', 'Ф' => 'F', 'Х' => 'H', 'Ц' => 'C', 'Ч' => 'Ch', 'Ш' => 'Sh', 'Щ' => 'Sh', 'Ъ' => '', 'Ы' => 'Y', 'Ь' => '', 'Э' => 'E', 'Ю' => 'Yu', 'Я' => 'Ya', - '№' => '' + '№' => 'No' ), 'uk' => array ( /* Ukrainian */ 'Є' => 'Ye', 'І' => 'I', 'Ї' => 'Yi', 'Ґ' => 'G', 'є' => 'ye', 'і' => 'i', 'ї' => 'yi', 'ґ' => 'g' @@ -113,7 +113,7 @@ class URLify { 'Ú' => 'U', 'Ù' => 'U', 'Ủ' => 'U', 'Ũ' => 'U', 'Ụ' => 'U', 'Ư' => 'U', 'Ứ' => 'U', 'Ừ' => 'U', 'Ử' => 'U', 'Ữ' => 'U', 'Ự' => 'U', 'ú' => 'u', 'ù' => 'u', 'ủ' => 'u', 'ũ' => 'u', 'ụ' => 'u', 'ư' => 'u', 'ứ' => 'u', 'ừ' => 'u', 'ử' => 'u', 'ữ' => 'u', 'ự' => 'u', 'Ý' => 'Y', 'Ỳ' => 'Y', 'Ỷ' => 'Y', 'Ỹ' => 'Y', 'Ỵ' => 'Y', 'ý' => 'y', 'ỳ' => 'y', 'ỷ' => 'y', 'ỹ' => 'y', 'ỵ' => 'y', - 'Đ' => 'D', 'đ' => 'd' + 'Đ' => 'DJ', 'đ' => 'dj' ), 'ar' => array ( /* Arabic */ 'أ' => 'a', 'ب' => 'b', 'ت' => 't', 'ث' => 'th', 'ج' => 'g', 'ح' => 'h', 'خ' => 'kh', 'د' => 'd', @@ -133,7 +133,7 @@ class URLify { 'DZ' => 'DZ', 'dz' => 'dz', 'DŽ' => 'DZ', 'dž' => 'dz', 'CH' => 'CH', 'Ĺ' => 'L', 'ĺ' => 'l', 'Ľ' => 'L', 'ľ' => 'l', 'Ŕ' => 'R', 'ŕ' => 'r' ), - 'add' => array ( /* Custom */ + 'cus' => array ( /* Custom */ 'Ĉ' => 'C', 'ĉ' => 'c', 'Ċ' => 'C', 'ċ' => 'c', 'Ď' => 'D', 'ď' => 'd', 'Ĕ' => 'E', 'ĕ' => 'e', 'Ĝ' => 'G', 'ĝ' => 'g', 'Ġ' => 'G', 'ġ' => 'g', 'Ĥ' => 'H', 'ĥ' => 'h', 'Ħ' => 'H', 'ħ' => 'h', 'Ĭ' => 'I', 'ĭ' => 'i', 'IJ' => 'J', 'ij' => 'j', 'Ĵ' => 'J', 'ĵ' => 'j', 'Ŀ' => 'L', 'ŀ' => 'l', 'ʼn' => 'n', 'Ō' => 'O', 'ō' => 'o', 'Ŏ' => 'O', 'ŏ' => 'o', 'Œ' => 'OE', diff --git a/themes/blog/main.html.php b/themes/blog/main.html.php index 3285226..b15a0b3 100644 --- a/themes/blog/main.html.php +++ b/themes/blog/main.html.php @@ -89,15 +89,7 @@ -
- - - - - - - -
+ diff --git a/themes/blog/profile.html.php b/themes/blog/profile.html.php index 69a7ead..fe6d355 100644 --- a/themes/blog/profile.html.php +++ b/themes/blog/profile.html.php @@ -28,20 +28,13 @@ - -
- - - - - - -
- - \ No newline at end of file + + + + \ No newline at end of file diff --git a/themes/clean/css/style.css b/themes/clean/css/style.css index 02220dd..70f648e 100644 --- a/themes/clean/css/style.css +++ b/themes/clean/css/style.css @@ -1,5 +1,5 @@ /*------------------------- - Simple reset + Simple reset --------------------------*/ * { @@ -8,7 +8,7 @@ } /*------------------------- - General Styles + General Styles --------------------------*/ html { @@ -48,7 +48,7 @@ img { } /*---------------------------- - Headings + Headings -----------------------------*/ h1 { @@ -127,7 +127,7 @@ h6 { } /*------------------------- - Tab + Tab --------------------------*/ .tab { @@ -138,14 +138,14 @@ h6 { } .tab ul { - padding:0; - margin:0; + padding:0; + margin:0; } .tab li { display: inline-block; - margin:0; - padding:0; + margin:0; + padding:0; } .tab a { @@ -166,7 +166,7 @@ h6 { } /*---------------------------- - Content & Posts + Content & Posts -----------------------------*/ #content { @@ -360,7 +360,7 @@ blockquote p { } /*------------------------- - Table + Table --------------------------*/ table { @@ -410,7 +410,7 @@ td { } /*---------------------------- - The left bar + The left bar -----------------------------*/ aside { @@ -497,7 +497,7 @@ aside .copyright p { } /*------------------------- - Raleted posts + Raleted posts --------------------------*/ .related { @@ -512,7 +512,7 @@ aside .copyright p { } /*---------------------------- - Pagination buttons + Pagination buttons -----------------------------*/ .postnav { @@ -608,7 +608,7 @@ aside .copyright p { } /*---------------------------- - The 404 page + The 404 page -----------------------------*/ .message { @@ -629,7 +629,7 @@ aside .copyright p { } /*---------------------------- - Search form + Search form -----------------------------*/ .search { @@ -684,7 +684,7 @@ aside .copyright p { } /*---------------------------- - Profile + Profile -----------------------------*/ .profile { @@ -702,7 +702,7 @@ aside .copyright p { } /*---------------------------- - Share + Author info + Share + Author info -----------------------------*/ .separator { @@ -761,7 +761,7 @@ aside .copyright p { } /*---------------------------- - Media queries + Media queries -----------------------------*/ @media all and (max-width: 1024px) { @@ -851,7 +851,7 @@ aside .copyright p { } /*---------------------------- - Video + Video -----------------------------*/ .video-wrapper { @@ -948,5 +948,5 @@ ul.archivegroup { .archivegroup li.expanded, .archivegroup li.collapsed, .archivegroup li.expanded li, .archivegroup li.collapsed li { list-style: none; - background:none; -} \ No newline at end of file + background:none; +} \ No newline at end of file diff --git a/themes/clean/profile.html.php b/themes/clean/profile.html.php index 0c02f56..117a752 100644 --- a/themes/clean/profile.html.php +++ b/themes/clean/profile.html.php @@ -31,6 +31,7 @@ + diff --git a/themes/default/profile.html.php b/themes/default/profile.html.php index 0c02f56..c3a0e00 100644 --- a/themes/default/profile.html.php +++ b/themes/default/profile.html.php @@ -29,10 +29,11 @@
- + + - +
diff --git a/themes/logs/profile.html.php b/themes/logs/profile.html.php index f8b7181..853fcd8 100644 --- a/themes/logs/profile.html.php +++ b/themes/logs/profile.html.php @@ -29,10 +29,11 @@
- « + + - » +