Changeset 5410
- Timestamp:
- 02/26/08 12:44:22 (11 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
components/Textcube.Function.Setting.php (modified) (1 diff)
-
interface/owner/control/user/index.php (modified) (3 diffs)
-
style/admin/whitedream/control.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/Textcube.Function.Setting.php
r5401 r5410 212 212 } 213 213 214 function getUserSettingGlobal($name, $default = null, $userid = null ) {214 function getUserSettingGlobal($name, $default = null, $userid = null, $directAccess = false) { 215 215 global $database, $userSetting; 216 if($directAccess !== false) { 217 return POD::queryCell("SELECT value FROM {$database['prefix']}UserSettings 218 WHERE userid = $userid"); 219 } 216 220 if( empty($userSetting) || !isset($userSetting[$userid])) { 217 221 $userid = is_null($userid) ? getUserId() : $userid; -
trunk/interface/owner/control/user/index.php
r5342 r5410 28 28 <dt><?php echo _t('이름'); ?></dt> 29 29 <dd><input type="text" class="input-text" id="ui-name" name="ui-name" /></dd> 30 <dt><?php echo _t('이메일') ;?></dt>30 <dt><?php echo _t('이메일').' ('._t('로그인 ID').')';?></dt> 31 31 <dd><input type="text" class="input-text" id="ui-email" name="ui-email" /></dd> 32 32 </dl> … … 48 48 <th><?php echo _t('로그인 ID');?></th> 49 49 <th><?php echo _t('이름');?></th> 50 <th><?php echo _t('마지막 로그인');?></th> 50 <th><?php echo _t('최근 로그인');?></th> 51 <th><?php echo _t('임시 암호');?></th> 51 52 </tr> 52 53 </thead> … … 63 64 foreach($userlist as $row) { 64 65 ?> 65 <tr id="table-user-list_<?php echo $row['userid'] ?>">66 <tr id="table-user-list_<?php echo $row['userid'];?>"> 66 67 <td><?php echo $row['userid']?></td> 67 <td><a href="<?php echo $blogURL ?>/owner/control/user/detail/<?php echo $row['userid']?>"><?php echo $row['loginid']?></a></td>68 <td><a href="<?php echo $blogURL;?>/owner/control/user/detail/<?php echo $row['userid']?>"><?php echo $row['loginid'];?></a></td> 68 69 <td><?php echo $row['name']?></td> 69 <td><?php echo ($row['lastLogin']?date("Y/m/d H:i:s T",$row['lastLogin']):"")?></td> 70 <td><?php echo ($row['lastLogin']?date("Y/m/d H:i:s T",$row['lastLogin']):'<span class="warning">'._t('아직 로그인하지 않았습니다.').'</span>');?></td> 71 <td><?php if(empty($row['lastLogin'])) echo setting::getUserSettingGlobal('AuthToken',null,$row['userid'],true);?></td> 70 72 </tr> 71 73 <?php -
trunk/style/admin/whitedream/control.css
r5331 r5410 33 33 } 34 34 35 .warning 36 { 37 color : #FF3333; 38 } 35 39 /* Blog ******************************************************************************************/ 36 40
