- remove it.
This commit is contained in:
@@ -1,96 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* The index view file of my module of ZenTaoMS.
|
||||
*
|
||||
* ZenTaoMS is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* ZenTaoMS is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @copyright Copyright 2009-2010 Chunsheng Wang
|
||||
* @author Chunsheng Wang <wwccss@263.net>
|
||||
* @package my
|
||||
* @version $Id$
|
||||
* @link http://www.zentao.cn
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/tablesorter.html.php';?>
|
||||
<div class="yui-d0 yui-t3">
|
||||
<div class="yui-b">
|
||||
<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', 'editpassword'), $lang->user->editPassword);
|
||||
echo html::a($this->createLink('user', 'logout'), $lang->logout);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="yui-main">
|
||||
<div class="yui-b">
|
||||
<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', 'index', "tabID=todo"), $lang->my->todo) . "</nobr></li>";
|
||||
echo "<li id='tasktab'><nobr>" . html::a($this->createLink('my', 'index', "tabID=task"), $lang->my->task) . "</nobr></li>";
|
||||
echo "<li id='projecttab'><nobr>". html::a($this->createLink('my', 'index', "tabID=project"), $lang->my->project) . "</nobr></li>";
|
||||
//echo "<li id='storytab'><nobr>" . html::a($this->createLink('my', 'index', "tabID=story"), $lang->my->story) . "</nobr></li>";
|
||||
echo "<li id='bugtab'><nobr>" . html::a($this->createLink('my', 'index', "tabID=bug"), $lang->my->bug) . "</nobr></li>";
|
||||
//echo "<li id='teamtab'><nobr>" . html::a($this->createLink('my', 'index', "tabID=team"), $lang->my->team) . "</nobr></li>";
|
||||
echo <<<EOT
|
||||
<script language="Javascript">
|
||||
$("#{$tabID}tab").addClass('active');
|
||||
</script>
|
||||
EOT;
|
||||
?>
|
||||
</ul>
|
||||
<?php if($tabID == 'todo'):?>
|
||||
<div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<?php include $tabID . '.html.php';?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
@@ -1,18 +0,0 @@
|
||||
<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