From e5609532ca843d702dbf385223f19ad1494d0e85 Mon Sep 17 00:00:00 2001 From: inureyes Date: Fri, 24 Feb 2012 16:14:57 +0900 Subject: [PATCH] refs #1604 : Added guestbook view / login-out feature to new mobile page. --- interface/i/guestbook/index.php | 5 +++++ interface/i/login/index.php | 25 ++++++++++++++++--------- interface/i/logout/index.php | 14 +++++++++----- resources/style/iphone/iphone.css | 3 +++ 4 files changed, 33 insertions(+), 14 deletions(-) diff --git a/interface/i/guestbook/index.php b/interface/i/guestbook/index.php index 8a444cdf5..b4bbcfbcd 100644 --- a/interface/i/guestbook/index.php +++ b/interface/i/guestbook/index.php @@ -5,6 +5,8 @@ define('__TEXTCUBE_IPHONE__', true); require ROOT . '/library/preprocessor.php'; requireView('iphoneView'); +printMobileHTMLHeader(); +printMobileHTMLMenu('','guestbook'); if(isset($suri['id'])) $page = $suri['id']; else $page = 1; ?> @@ -18,3 +20,6 @@ ?> + diff --git a/interface/i/login/index.php b/interface/i/login/index.php index 348b5ba6e..fb393af14 100644 --- a/interface/i/login/index.php +++ b/interface/i/login/index.php @@ -12,6 +12,7 @@ ); define('__TEXTCUBE_IPHONE__', true); require ROOT . '/library/preprocessor.php'; +requireView('iphoneView'); if (isset($_GET['loginid'])) $_POST['loginid'] = $_GET['loginid']; if (isset($_GET['password'])) @@ -41,17 +42,18 @@ $message=_text('권한이 없습니다.'); } } - if(!doesHaveOwnership()) { + printMobileHTMLHeader(); + printMobileHTMLMenu(); ?>

-
-
- +
+
+
@@ -68,18 +70,23 @@ - +
- diff --git a/interface/i/logout/index.php b/interface/i/logout/index.php index e9d9a5e30..08088742a 100644 --- a/interface/i/logout/index.php +++ b/interface/i/logout/index.php @@ -5,14 +5,18 @@ define('__TEXTCUBE_IPHONE__', true); require ROOT . '/library/preprocessor.php'; requireView('iphoneView'); -if (false) { - fetchConfigVal(); -} logout(); +printMobileHTMLHeader(); +printMobileHTMLMenu(); +$context = Model_Context::getInstance(); ?> +
- Logout Successfully. +

- +
+ diff --git a/resources/style/iphone/iphone.css b/resources/style/iphone/iphone.css index 32a6c03a8..c8f12ccfe 100644 --- a/resources/style/iphone/iphone.css +++ b/resources/style/iphone/iphone.css @@ -13,6 +13,9 @@ select { margin-left:100px !important; } +.center { + text-align:center; +} .comment { }