diff --git a/README.md b/README.md index 1a2ef79..ceb9bd4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# minphp/Pagination +# Minphp/Pagination [![Build Status](https://travis-ci.org/phillipsdata/minphp-pagination.svg?branch=master)](https://travis-ci.org/phillipsdata/minphp-pagination) @@ -9,7 +9,7 @@ Pagination Helper. Install via composer: ```sh -composer require minphp/pagination:dev-master +composer require minphp/pagination ``` ## Basic Usage diff --git a/composer.json b/composer.json index 0d281f5..e2ce464 100644 --- a/composer.json +++ b/composer.json @@ -12,8 +12,7 @@ ], "require": { "php": ">=5.3.0", - "minphp/html": "dev-master", - "minphp/language": "dev-master" + "minphp/html": "~1.0" }, "require-dev": { "phpunit/phpunit": "~4.0", diff --git a/src/Language/en_us/pagination.php b/src/Language/en_us/pagination.php deleted file mode 100644 index c5967ba..0000000 --- a/src/Language/en_us/pagination.php +++ /dev/null @@ -1,5 +0,0 @@ -setGet($get); $this->settings = array( @@ -62,7 +54,7 @@ public function __construct(array $get = array(), array $format = array()) // First page link 'first' => array( 'tag' => "li", - 'name' => Language::_("Pagination.first_link", true), + 'name' => "← First", 'attributes' => array(), 'link_attributes' => array(), 'show' => "if_needed", // options: if_needed, never, always @@ -71,7 +63,7 @@ public function __construct(array $get = array(), array $format = array()) // Last page link 'last' => array( 'tag' => "li", - 'name' => Language::_("Pagination.last_link", true), + 'name' => "Last →", 'attributes' => array(), 'link_attributes' => array(), 'show' => "if_needed", // options: if_needed, never, always @@ -80,7 +72,7 @@ public function __construct(array $get = array(), array $format = array()) // Next page link 'next' => array( 'tag' => "li", - 'name' => Language::_("Pagination.next_link", true), + 'name' => "Next", 'attributes' => array(), 'link_attributes' => array(), 'show' => "if_needed", // options: if_needed, never, always @@ -89,7 +81,7 @@ public function __construct(array $get = array(), array $format = array()) // Previous page link 'prev' => array( 'tag' => "li", - 'name' => Language::_("Pagination.prev_link", true), + 'name' => "Prev", 'attributes' => array(), 'link_attributes' => array(), 'show' => "if_needed", // options: if_needed, never, always