From 9a02508027ced4c186f4e13f1c5098a2c4bc9a36 Mon Sep 17 00:00:00 2001 From: Arthur Schwaiger Date: Thu, 23 Jan 2014 22:55:39 +0100 Subject: [PATCH 1/3] Badge Helper: update for Twitter Bootstrap V3 --- .../View/Helper/Bootstrap/Badge.php | 49 ------------------- 1 file changed, 49 deletions(-) diff --git a/src/SxBootstrap/View/Helper/Bootstrap/Badge.php b/src/SxBootstrap/View/Helper/Bootstrap/Badge.php index ec6f426..516a371 100644 --- a/src/SxBootstrap/View/Helper/Bootstrap/Badge.php +++ b/src/SxBootstrap/View/Helper/Bootstrap/Badge.php @@ -20,55 +20,6 @@ */ class Badge extends AbstractElementHelper { - /** - * Display an Informational Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function info() - { - return $this->addClass('badge-info'); - } - - /** - * Display an Important Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function important() - { - return $this->addClass('badge-important'); - } - - /** - * Display an Inverse Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function inverse() - { - return $this->addClass('badge-inverse'); - } - - /** - * Display a success Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function success() - { - return $this->addClass('badge-success'); - } - - /** - * Display a Warning Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function warning() - { - return $this->addClass('badge-warning'); - } /** * Invoke Badge From 81cb93dddd71d413b018f3092f1e93a0292512ae Mon Sep 17 00:00:00 2001 From: Arthur Schwaiger Date: Thu, 23 Jan 2014 22:59:59 +0100 Subject: [PATCH 2/3] Well Helper: update for Twitter Bootstrap V3 --- src/SxBootstrap/View/Helper/Bootstrap/Well.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SxBootstrap/View/Helper/Bootstrap/Well.php b/src/SxBootstrap/View/Helper/Bootstrap/Well.php index 738c986..3924094 100644 --- a/src/SxBootstrap/View/Helper/Bootstrap/Well.php +++ b/src/SxBootstrap/View/Helper/Bootstrap/Well.php @@ -38,7 +38,7 @@ public function __invoke($content = '') */ public function small() { - $this->addClass('well-small'); + $this->addClass('well-sm'); return $this; } @@ -50,7 +50,7 @@ public function small() */ public function large() { - $this->addClass('well-large'); + $this->addClass('well-lg'); return $this; } From aec912357e709308332d9240078a89cc4e877d11 Mon Sep 17 00:00:00 2001 From: Arthur Schwaiger Date: Thu, 23 Jan 2014 23:08:11 +0100 Subject: [PATCH 3/3] Alert Helper: update for Twitter Bootstrap V3 --- src/SxBootstrap/View/Helper/Bootstrap/Alert.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SxBootstrap/View/Helper/Bootstrap/Alert.php b/src/SxBootstrap/View/Helper/Bootstrap/Alert.php index 65a88c9..0923e9f 100644 --- a/src/SxBootstrap/View/Helper/Bootstrap/Alert.php +++ b/src/SxBootstrap/View/Helper/Bootstrap/Alert.php @@ -36,13 +36,13 @@ public function info() } /** - * Display an Error Alert + * Display a Danger Alert * * @return \SxBootstrap\View\Helper\Bootstrap\Alert */ - public function error() + public function danger() { - return $this->addClass('alert-error'); + return $this->addClass('alert-danger'); } /**