Changeset 20038
- Timestamp:
- 09/27/08 16:08:15 (5 years ago)
- Location:
- events/phpframework/plain_php/trunk/resource
- Files:
-
- 13 added
- 10 modified
- 1 moved
-
acount_create.php (modified) (1 diff)
-
activate.php (added)
-
css/module.css (modified) (5 diffs)
-
css/style.css (modified) (9 diffs)
-
default_guide.php (modified) (1 diff)
-
followers.php (added)
-
followings.php (added)
-
img/friend_icon_mini.png (added)
-
img/share/reply_icon.gif (modified) (previous)
-
img/user (added)
-
index.php (modified) (1 diff)
-
login.php (modified) (1 diff)
-
logined_guide.php (modified) (1 diff)
-
password.php (added)
-
picture.php (added)
-
public_timeline.php (added)
-
sessions.php (modified) (1 diff)
-
settings.php (added)
-
signup.php (modified) (1 diff)
-
statuses.php (added)
-
timeline.php (moved) (moved from events/phpframework/plain_php/trunk/resource/home.php) (8 diffs)
-
user.php (added)
-
user_followers.php (added)
-
user_followings.php (added)
Legend:
- Unmodified
- Added
- Removed
-
events/phpframework/plain_php/trunk/resource/acount_create.php
r19863 r20038 30 30 <div id="contents"> 31 31 32 <div id="wrapper">32 <div class="wrapper"> 33 33 <div id="main"> 34 34 -
events/phpframework/plain_php/trunk/resource/css/module.css
r19863 r20038 14 14 padding-top: 10px; 15 15 font-size: 90%; 16 border-top: 2px solid #333;17 }18 19 #page {20 background-color: #EBEAE2;21 16 } 22 17 23 18 h2, h3 { 24 19 font-size: 110%; 20 } 21 22 h2 img { 23 vertical-align: middle; 25 24 } 26 25 … … 44 43 } 45 44 46 .warning {47 color: #ff3333;48 }49 50 45 input { 51 46 padding: 4px 3px; … … 53 48 } 54 49 55 input[type=text], input[type=password] {50 input[type=text], input[type=password],input[type=file] { 56 51 border: 1px solid #999999; 57 52 } 58 53 59 input[type=text]:focus , input[type=password]:focus {54 input[type=text]:focus, input[type=password]:focus, input[type=file]:focus { 60 55 border: 1px solid #ffcc00; 61 56 } 62 57 63 58 table { 59 margin-bottom: 15px; 60 } 64 61 65 62 input[type=submit] { … … 95 92 /* コンテンツ */ 96 93 97 #contents{94 .wrapper { 98 95 padding-top: 10px; 99 96 background-image: url(../img/share/up_arrow.gif); 100 97 background-repeat: no-repeat; 101 98 background-position: 20px 0px; 99 width: 542px; 100 } 101 102 .wrapper, #sub { 103 float: left; 102 104 } 103 105 104 106 #main, #sub { 105 float: left;106 107 margin-bottom: 10px; 107 108 padding: 10px; 108 109 } 109 110 110 #main { 111 width: 522px; 112 } 113 114 #main h2 { 111 .wrapper h2 { 115 112 margin-bottom: 10px; 116 113 } 117 114 115 p.message { 116 margin: 4px 0; 117 } 118 119 p.warning { 120 margin: 4px 0; 121 color: #f33; 122 } 123 118 124 #sub { 125 126 margin-top: 10px; 119 127 margin-left: 8px; 120 128 width: 218px; … … 131 139 padding: 2px 0px; 132 140 margin-bottom: 8px; 141 font-size: 100%; 133 142 } 134 143 -
events/phpframework/plain_php/trunk/resource/css/style.css
r19863 r20038 1 1 @charset "utf-8"; 2 2 3 # index #login_form {3 #login_form { 4 4 margin-bottom: 10px; 5 5 } 6 6 7 # index #login_form p {7 #login_form p { 8 8 margin: 2px 0px; 9 9 } 10 10 11 # login_page #login_table, #main1_page#login_table {11 #form_table, #login_table { 12 12 margin:0px 0px 0px 60px; 13 13 } 14 14 15 #login_page #login_table td, #login_page #login_table th, #main1_page #login_table td{ 15 #sub_page #form_table { 16 margin: 0px; 17 } 18 19 #form_table td, #form_table th{ 16 20 padding: 5px; 17 21 } 18 22 19 #main1_page #main, #main1_page #sub { 20 float: left; 23 #main1_page .wrapper, #main1_page #sub { 21 24 margin-bottom: 10px; 22 padding: 10px; 23 } 24 25 #main1_page #main { 26 width: 770px;25 } 26 27 #main1_page .wrapper { 28 width: 790px; 29 padding: 10px 0px; 27 30 } 28 31 … … 33 36 border: 0px; 34 37 background-color: #f9f6f6; 35 } 36 37 #main1_page #login_table td{ 38 padding: 10px; 39 } 40 41 #login_table td{ 38 42 vertical-align: top; 43 padding: 5px; 39 44 } 40 45 … … 62 67 right:5px; 63 68 } 64 #post textarea .message{69 #post textarea#comment{ 65 70 width: 510px; 66 71 height: 3em; … … 82 87 83 88 ul.tabNav{ 84 margin:0px 10px 10px; 89 margin:0px 10px 9px; 90 padding: 0px; 85 91 } 86 92 … … 89 95 margin-left:-1px; 90 96 margin-bottom:3px; 91 font-size: 90%; 97 98 margin-top: 9px; 92 99 } 93 100 … … 99 106 background-color:#FFFFFF; 100 107 color:#333333; 101 padding:5px 10px;108 padding:5px 9px; 102 109 } 103 110 … … 121 128 } 122 129 123 div#timeline table { 130 #user_page #timeline { 131 border-top-width:0px; 132 } 133 134 div#public_timeline { 135 } 136 137 form#setting_form { 138 clear:both; 139 margin-top:-1px; 140 border-top:1px solid #999999; 141 padding:30px 0px 10px; 142 } 143 144 div#timeline table, div#public_timeline table { 124 145 width: 100%; 125 146 border-top: 1px solid #dddddd; 126 147 } 127 148 128 div#timeline table td {149 div#timeline table td, div#public_timeline table td { 129 150 padding: 13px 6px; 130 151 border-bottom: 1px solid #dddddd; 131 152 } 132 153 133 div#timeline table td.status_body {154 div#timeline table td.status_body, div#public_timeline table td.status_body { 134 155 padding: 13px 5px; 135 156 } 136 157 137 div#timeline table tr:hover {158 div#timeline table tr:hover, div#public_timeline table tr:hover { 138 159 background-color: #f9f9f9; 139 160 } 140 161 141 div#timeline table tr:hover td.status_body span.meta a.published{ 162 div#timeline table tr:hover td.status_body span.meta a.published, 163 div#public_timeline table tr:hover td.status_body span.meta a.published{ 142 164 color: #ff7171; 143 165 } 144 166 145 div#timeline table td.status_body span.meta {167 div#timeline table td.status_body span.meta, div#public_timeline table td.status_body span.meta { 146 168 color: #999999; 147 169 font-size: 80%; … … 150 172 } 151 173 152 div#timeline table td.status_body span.meta a.published { 174 div#timeline table td.status_body span.meta a.published, 175 div#public_timeline table td.status_body span.meta a.published { 153 176 color: #999999; 154 177 } … … 176 199 border: 1px solid #cccccc; 177 200 } 201 202 ul#settings_navi { 203 border-bottom: 1px solid #cccccc; 204 padding: 0 0 0 30px; 205 } 206 207 ul#settings_navi li { 208 display: inline; 209 padding: 0; 210 margin: 0 4px; 211 } 212 213 ul#settings_navi a { 214 padding: 3px 4px; 215 border: 1px solid #cccccc; 216 border-bottom-width: 0px; 217 } 218 219 ul#settings_navi .on { 220 display: inline; 221 background-color: #666; 222 color: #fff; 223 } 224 225 #sub_page #contents { 226 padding-top: 10px; 227 background-image: url(../img/share/up_arrow.gif); 228 background-repeat: no-repeat; 229 background-position: 20px 0px; 230 width: 790px; 231 } 232 233 #sub_page .wrapper { 234 padding: 0; 235 background-image: none; 236 background-color: #F3F0F0; 237 float:left; 238 width: 100%; 239 } 240 241 #sub_page #main { 242 float: left; 243 margin:0; 244 width: 531px; 245 border-right: 1px solid #E1DDDD; 246 } 247 248 #sub_page #sub { 249 float: left; 250 margin: 0; 251 height: 100%; 252 border-width: 0px; 253 } 254 255 256 257 #status_page .wrapper { 258 width: 600px; 259 } 260 261 #status_page #main { 262 padding: 17px; 263 } 264 265 #status_page #main #user img { 266 vertical-align: middle; 267 margin-right: 7px; 268 } 269 270 #status_page #main #user a { 271 font-size: 150%; 272 } 273 274 #status_page h2 { 275 font-size: 180%; 276 font-weight: normal; 277 font-family: 'Georgia', 'Serif'; 278 margin: 0px 0px; 279 padding: 0px 0px; 280 } 281 282 #status_page div#status { 283 border-bottom: 1px solid #dddddd; 284 margin-bottom: 17px; 285 padding-bottom: 10px; 286 } 287 288 #status_page #meta { 289 color: #bbbbbb; 290 font-size: 120%; 291 font-style: italic; 292 font-family: 'Georgia', 'Serif'; 293 } 294 295 #people { 296 width: 100%; 297 } 298 299 #people th { 300 padding-right: 10px; 301 width: 48px; 302 } 303 304 #people th, #people td { 305 padding-top: 8px; 306 padding-bottom: 8px; 307 border-bottom: 1px solid #dddddd; 308 } 309 310 #people .button { 311 color: #666; 312 background-color: #eeeeee; 313 border: 1px solid #ccc; 314 padding: 2px 3px; 315 font-size: 70%; 316 } 317 #people .button:hover { 318 text-decoration: none; 319 } -
events/phpframework/plain_php/trunk/resource/default_guide.php
r19863 r20038 1 1 <ul id="guideNav"> 2 <li><a href="<?php echo $c->baseUrl; ?>/public_timeline">タイムライン</a></li> 2 3 <li><a href="<?php echo $c->baseUrl; ?>/login">ログイン</a></li> 3 4 <li><a href="<?php echo $c->baseUrl; ?>/signup">ユーザー登録</a></li> -
events/phpframework/plain_php/trunk/resource/index.php
r19863 r20038 29 29 <div id="contents"> 30 30 31 <div id="wrapper">31 <div class="wrapper"> 32 32 <div id="main"> 33 33 <h2>Phwittrとは?</h2> -
events/phpframework/plain_php/trunk/resource/login.php
r19863 r20038 30 30 <div id="contents"> 31 31 32 <div id="wrapper"> 32 33 34 <div class="wrapper"> 33 35 <div id="main"> 34 36 <h2>ログイン</h2> 37 35 38 <?php if ($r->existsMessage()) foreach ($r->getMessages() as $m): ?> 36 <p class="warning"><?php echo $m ?></p> 39 <?php foreach ($r->getMessages() as $m): ?> 40 <p class="warning"><?php echo $m ?></p> 41 <?php endforeach ?> 37 42 <?php endforeach ?> 43 38 44 <form action="<?php echo $c->baseUrl; ?>/sessions" method="post"> 39 45 <table id="login_table"><tr> -
events/phpframework/plain_php/trunk/resource/logined_guide.php
r19863 r20038 2 2 <li><a href="<?php echo $c->baseUrl; ?>/home">ホーム</a></li> 3 3 <li><a href="<?php echo $c->baseUrl; ?>/<?php echo $user_name; ?>">プロフィール</a></li> 4 <li><a href="<?php echo $c->baseUrl; ?>/ settings">設定</a></li>4 <li><a href="<?php echo $c->baseUrl; ?>/acount/settings">設定</a></li> 5 5 <li><a href="<?php echo $c->baseUrl; ?>/logout/<?php echo $session->token ?>">ログアウト</a></li> 6 6 </ul> -
events/phpframework/plain_php/trunk/resource/sessions.php
r19863 r20038 30 30 <div id="contents"> 31 31 32 33 32 34 <div id="wrapper"> 33 35 <div id="main"> 34 36 <h2>ログイン</h2> 35 <?php if ($r->existsMessage()) foreach ($r->getMessages() as $e_msg) { ?> 36 <p class="warning"><?php echo $e_msg; ?></p> 37 <?php } ?> 37 38 <?php if ($r->existsMessage()) foreach ($r->getMessages() as $m): ?> 39 <?php foreach ($r->getMessages() as $m): ?> 40 <p class="warning"><?php echo $m ?></p> 41 <?php endforeach ?> 42 <?php endforeach ?> 38 43 39 44 <form action="<?php echo $c->baseUrl; ?>/sessions" method="post"> -
events/phpframework/plain_php/trunk/resource/signup.php
r19863 r20038 30 30 <div id="contents"> 31 31 32 <div id="wrapper">32 <div class="wrapper"> 33 33 <div id="main"> 34 34 -
events/phpframework/plain_php/trunk/resource/timeline.php
r19863 r20038 29 29 <div id="contents"> 30 30 31 <div id="wrapper"> 31 32 <div class="wrapper"> 32 33 <div id="main"> 34 35 <?php if ($r->existsMessage()) foreach ($r->getMessages() as $m): ?> 36 <?php foreach ($r->getMessages() as $m): ?> 37 <p class="message"><?php echo $m ?></p> 38 <?php endforeach ?> 39 <?php endforeach ?> 33 40 34 41 <form action="<?php echo $c->baseUrl; ?>/status/update" method="post"> … … 36 43 <h2>What are you doing?</h2> 37 44 <span class="textCount" id="js_textcount">140</span> 38 <textarea class="message" name="comment"><?php echo h($status)?></textarea>45 <textarea id="comment" name="comment"><?php if ($status) echo h($status) . ' ' ?></textarea> 39 46 <input type="hidden" name="token" value="<?php echo $session->token ?>" /> 40 47 <p id="button_space"> 41 <input type="submit" id="twit_button" value=" つぶやく" />48 <input type="submit" id="twit_button" value=" update " /> 42 49 </p> 43 50 </div> … … 47 54 <li><a href="<?php echo $c->baseUrl; ?>/home"<?php if ($current_action === 'home'):?> class="on"<?php endif ?>>タイムライン</a></li> 48 55 <li><a href="<?php echo $c->baseUrl; ?>/replies"<?php if ($current_action === 'replies'):?> class="on"<?php endif ?>>返信</a></li> 49 <li><a href="<?php echo $c->baseUrl; ?>/<?php echo $user_name; ?>"> 過去発言</a></li>56 <li><a href="<?php echo $c->baseUrl; ?>/<?php echo $user_name; ?>">アーカイブ</a></li> 50 57 <li><a href="<?php echo $c->baseUrl; ?>/public_timeline"<?php if ($current_action === 'public_timeline'):?> class="on"<?php endif ?>>公開タイムライン</a></li> 51 58 </ul> 52 59 53 60 <div id="timeline"> 54 <table >61 <table class="autopagerize_page_element"> 55 62 <?php foreach ($statuses as $status): ?> 56 63 <tr> 57 64 <td> 58 <img src="<?php if ($user['image']) echo $user['image']; else echo './img/friend_icon.png'; ?>"59 alt="<?php echo $ user_name; ?>" />65 <a href="<?php echo $c->baseUrl . '/' . $status['user_name']; ?>"><img src="<?php echo $c->templateBaseUrl . ($status['image'] ? "/img/user/{$status['user_name']}_icon" : '/img/friend_icon') ?>.png" 66 alt="<?php echo $status['user_name'] ?>" /></a> 60 67 </td> 61 68 <td class="status_body"> … … 63 70 <?php echo $status['comment'] ?> 64 71 <span class="meta"> 65 <a href="<?php echo $c->baseUrl . '/' . $status['user_name'] . '/statuses/' . $status['id'];?>" class="published">72 <a href="<?php echo "{$c->baseUrl}/statuses/{$status['id']}" ?>" class="published"> 66 73 <?php echo $status['created_at']; ?></a> 67 74 </span> … … 71 78 <a href="<?php echo $c->baseUrl ?>/status/delete/<?php echo $status['id'] . '/' . $session->token ?>"> 72 79 <img src="img/share/trash_icon.gif" alt="Delete" class="icon16" /></a> 80 <?php else: ?> 81 <a href="<?php echo "{$c->baseUrl}/home?status=@{$status['user_name']}" ?>"><img src="./img/share/reply_icon.gif" /></a> 73 82 <?php endif; ?> 74 83 </td> … … 80 89 <div id="buttom_navi"> 81 90 <?php if ($page > 0): ?> 82 <a href="<?php echo $c->baseUrl . '/' . $current_action . '?page=' . (string)($page - 1); ?>" rel=" next">« Newer</a>91 <a href="<?php echo $c->baseUrl . '/' . $current_action . '?page=' . (string)($page - 1); ?>" rel="prev">« Newer</a> 83 92 <?php endif; ?> 84 93 85 94 <?php if ($page_limit * ($page + 1) < $status_count): ?> 86 <a href="<?php echo $c->baseUrl . '/' . $current_action . '?page=' . (string)($page + 1); ?>" rel=" prev">Older »</a>95 <a href="<?php echo $c->baseUrl . '/' . $current_action . '?page=' . (string)($page + 1); ?>" rel="next">Older »</a> 87 96 <?php endif; ?> 88 97 </div> … … 95 104 <h3>プロフィール</h3> 96 105 <p> 97 < img src="<?php if ($user['image']) echo $user['image']; else echo './img/friend_icon.png'; ?>"98 alt="<?php echo $user_name; ?>" width="32" height="32" /> 106 <a href="<?php echo "{$c->baseUrl}/{$user_name}" ?>"><img src="<?php echo $c->templateBaseUrl . ($user['image'] ? "/img/user/{$user_name}_icon" : '/img/friend_icon') ?>.png" 107 alt="<?php echo $user_name; ?>" width="32" height="32" /></a> 99 108 <?php echo $user_name; ?> 100 109 </p> … … 107 116 <h3>ステータス</h3> 108 117 <table id="status"><tr> 109 <th><a href="<?php echo $c->baseUrl . '/' . $user_name;?>/friends">followings</a></th><td><?php echo $following_count; ?></td>118 <th><a href="<?php echo $c->baseUrl ?>/friends">followings</a></th><td><?php echo $following_count; ?></td> 110 119 </tr><tr> 111 <th><a href="<?php echo $c->baseUrl . '/' . $user_name;?>/followers">followers</a></th><td><?php echo $follower_count; ?></td>120 <th><a href="<?php echo $c->baseUrl ?>/followers">followers</a></th><td><?php echo $follower_count; ?></td> 112 121 </tr><tr> 113 122 <th><a href="<?php echo $c->baseUrl . '/' . $user_name; ?>">updates</a></th><td><?php echo $user_status_count; ?></td> 114 123 </tr></table> 115 124 125 <?php if (count($friends)): ?> 126 <h3>あなたがフォロー</h3> 127 <p> 128 <?php foreach ($friends as $f): ?> 129 <a href="<?php echo $c->baseUrl . '/' . $f['user_name']; ?>"> 130 <img src="<?php echo $c->templateBaseUrl . ($f['image'] ? "/img/user/{$f['user_name']}_icon" : '/img/friend_icon') ?>_mini.png" 131 alt="<?php echo $f['user_name'] ?>" /></a> 132 <?php endforeach ?> 133 <?php if ($view_all): ?><br/><a href="<?php echo $c->baseUrl ?>/friends">view all</a><?php endif ?> 134 </p> 135 <?php endif ?> 116 136 117 137 <!-- / #sub --></div> 118 138 <!-- / #contents --></div> 139 119 140 120 141
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)