+ split html.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<table class='table-1'>
|
||||
<caption><?php echo $lang->my->profile;?></caption>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->user->account;?></th>
|
||||
<td><?php echo $app->user->account;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->user->realname;?></th>
|
||||
<td><?php echo $app->user->realname;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->user->nickname;?></th>
|
||||
<td><?php echo $app->user->nickname;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->user->join;?></th>
|
||||
<td><?php echo $app->user->join;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->user->visits;?></th>
|
||||
<td><?php echo $app->user->visits;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->user->ip;?></th>
|
||||
<td><?php echo $app->user->ip;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->user->last;?></th>
|
||||
<td><?php echo $app->user->last;?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='a-right'>
|
||||
<?php
|
||||
echo html::a($this->createLink('my', 'editprofile'), $lang->user->editProfile);
|
||||
echo html::a($this->createLink('user', 'logout'), $lang->logout);
|
||||
?>
|
||||
</div>
|
||||
@@ -0,0 +1,18 @@
|
||||
<div id='tabbar' class='yui-d0' style='clear:right'>
|
||||
<ul>
|
||||
<?php
|
||||
echo "<li><nobr>{$app->user->realname}</nobr></li>";
|
||||
echo "<li id='todotab'><nobr>" . html::a($this->createLink('my', 'todo'), $lang->my->todo) . "</nobr></li>";
|
||||
echo "<li id='tasktab'><nobr>" . html::a($this->createLink('my', 'task'), $lang->my->task) . "</nobr></li>";
|
||||
echo "<li id='projecttab'><nobr>". html::a($this->createLink('my', 'project'), $lang->my->project) . "</nobr></li>";
|
||||
echo "<li id='storytab'><nobr>" . html::a($this->createLink('my', 'story'), $lang->my->story) . "</nobr></li>";
|
||||
echo "<li id='bugtab'><nobr>" . html::a($this->createLink('my', 'bug'), $lang->my->bug) . "</nobr></li>";
|
||||
echo "<li id='teamtab'><nobr>" . html::a($this->createLink('my', 'team'), $lang->my->team) . "</nobr></li>";
|
||||
echo <<<EOT
|
||||
<script language="Javascript">
|
||||
$("#{$tabID}tab").addClass('active');
|
||||
</script>
|
||||
EOT;
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user