<?php

$tbg_response->addBreadcrumb(__('Release center'), null, tbg_get_breadcrumblinks('project_summary', $selected_project));
$tbg_response->setTitle(__('"%project_name" release center', array('%project_name' => $selected_project->getName())));
include_component('project/projectheader', array('selected_project' => $selected_project, 'subpage' => __('Release center')));
?>
<div id="project_release_center" class="project_info_container">
    <div class="project_right_container">
        <div class="project_right only_active" id="project_release_center_container">
            <?php 
if ($tbg_user->canManageProjectReleases($selected_project)) {
    ?>
                <div class="project_save_container">
                    <div class="button button-silver" onclick="TBG.Main.Helpers.Backdrop.show('<?php 
    echo make_url('get_partial_for_backdrop', array('key' => 'project_build', 'project_id' => $selected_project->getId()));
    ?>
');"><?php 
    echo __('Add new project release');
    ?>
</div>
                    <?php 
    if ($selected_project->isEditionsEnabled()) {
        ?>
                        <div class="button button-silver dropper"><?php 
        echo __('Add edition release');
        ?>
</div>
                        <ul class="rounded_box white shadowed dropdown_box rightie popup_box more_actions_dropdown">
                            <?php 
        foreach ($selected_project->getEditions() as $edition_id => $edition) {
            ?>
<?php

$tbg_response->addBreadcrumb(__('Teams'), null, tbg_get_breadcrumblinks('team_list'));
if ($team instanceof \thebuggenie\core\entities\Team) {
    $tbg_response->setTitle(__('Team dashboard for %team_name', array('%team_name' => $team->getName())));
    $tbg_response->setPage('team');
    $tbg_response->addBreadcrumb(__($team->getName()), make_url('team_dashboard', array('team_id' => $team->getID())));
} else {
    $tbg_response->setTitle(__('Team dashboard'));
    $tbg_response->addBreadcrumb(__('Team dashboard'));
}
?>

<div class="team_dashboard">
    <div class="dashboard_team_info">
        <span class="dashboard_team_header"><?php 
echo $team->getName();
?>
</span><br />
    </div>

    <table class="team_dashboard_table">
        <tr>
            <td class="team_dashboard_projects padded">
                <div class="header">
                    <?php 
echo __('Projects for %team', array('%team' => __($team->getName())));
?>
                        <a style="float: right;" class="button button-silver" href="javascript:void(0);" onclick="TBG.Main.Helpers.Backdrop.show('<?php 
echo make_url('get_partial_for_backdrop', array('key' => 'team_archived_projects', 'tid' => $team->getID()));
?>
<?php

$tbg_response->addBreadcrumb(__('Clients'), make_url('client_list'), tbg_get_breadcrumblinks('client_list'));
if ($client instanceof \thebuggenie\core\entities\Client) {
    $tbg_response->setTitle(__('Client dashboard for %client_name', array('%client_name' => $client->getName())));
    $tbg_response->setPage('client');
    $tbg_response->addBreadcrumb($client->getName(), make_url('client_dashboard', array('client_id' => $client->getID())));
} else {
    $tbg_response->setTitle(__('Client dashboard'));
    $tbg_response->addBreadcrumb(__('Client dashboard'));
}
?>

<?php 
if ($client instanceof \thebuggenie\core\entities\Client) {
    ?>
    <div class="client_dashboard">
        <div class="dashboard_client_info">
            <span class="dashboard_client_header"><?php 
    echo $client->getName();
    ?>
</span>
            <table>
                <tr>
                    <td style="padding-right: 10px">
                        <b><?php 
    echo __('Website:');
    ?>
</b> <?php 
    if ($client->getWebsite() == '') {
        ?>
function tbg_get_pagename($page)
{
    $links = tbg_get_breadcrumblinks('project_summary', \thebuggenie\core\framework\Context::getCurrentProject());
    return isset($links[$page]) && $page != 'project_issues' ? $links[$page]['title'] : __('Dashboard');
}
Beispiel #5
0
<?php

$tbg_response->setTitle(__('About %sitename', array('%sitename' => TBGSettings::getTBGname())));
$tbg_response->addBreadcrumb(__('About %sitename', array('%sitename' => TBGSettings::getTBGname())), make_url('about'), tbg_get_breadcrumblinks('main_links'));
?>
<div class="rounded_box borderless mediumgrey" style="margin: 10px auto 0 auto; width: 500px; padding: 5px 5px 15px 5px; font-size: 13px; text-align: center;">
	<div style="text-align: left; padding: 10px;">
		<h1 style="font-size: 25px; margin-bottom: 0px; padding-bottom: 3px;">
			The Bug Genie
			<span style="font-size: 14px; font-weight: normal; color: #888;">
				<?php 
echo __('Version %thebuggenie_version', array('%thebuggenie_version' => TBGSettings::getVersion(true)));
?>
			</span>
		</h1>
		<h3 style="margin-top: 0; padding-top: 0;">Beautiful issue tracking and project management</h3>
		<?php 
echo __('The Bug Genie is an issue tracking system with a strong focus on being friendly &ndash; both for regular users and power users');
?>
.<br>
		<br>
		<?php 
echo __('The Bug Genie follows an open development model, and is released under an open source software license called the MPL (Mozilla Public License). This license gives you the freedom to pick up the sourcecode for The Bug Genie and work with it any way you need.');
?>
<br>
		<br>
		<?php 
echo __('Extend, develop and change The Bug Genie in any way you want, and do whatever you want with the new piece of software (The only thing you cannot do is call your software The Bug Genie). Please do send us your modifications for inclusion in The Bug Genie.');
?>
<br>
		<br>
Beispiel #6
0
<?php

$tbg_response->addBreadcrumb(__('Team overview'), null, tbg_get_breadcrumblinks('project_summary', $selected_project));
$tbg_response->setTitle(__('"%project_name" project team', array('%project_name' => $selected_project->getName())));
include_component('project/projectheader', array('selected_project' => $selected_project, 'subpage' => __('Team')));
?>
<div id="project_team" class="project_info_container">
    <div id="project_team_container">
        <div style="width: auto;" id="project_team_overview">
            <div class="project_team_list_container">
                <?php 
if (count($assigned_users) == 0) {
    ?>
                    <div style="padding: 5px; color: #AAA; font-size: 12px;"><?php 
    echo __('There are no users assigned to this project');
    ?>
</div>
                <?php 
} else {
    ?>
                    <h3><?php 
    echo __('Assigned users');
    ?>
</h3>
                    <ul class="project_team_list usercard users">
                        <?php 
    foreach ($assigned_users as $user) {
        ?>
                            <li>
                                <div style="padding: 2px; width: 48px; height: 48px; text-align: center; background-color: #FFF; border: 1px solid #DDD; float: left; margin-right: 5px;">
                                    <?php 
Beispiel #7
0
<?php

$tbg_response->setTitle(__('Frontpage'));
$tbg_response->addBreadcrumb(__('Frontpage'), make_url('home'), tbg_get_breadcrumblinks('main_links'));
if ($show_project_config_link && $show_project_list) {
    ?>
    <?php 
    if ($project_count == 1) {
        ?>
        <?php 
        include_component('main/hideableInfoBoxModal', array('key' => 'index_single_project_mode', 'title' => __('Only using The Bug Genie to track issues for one project?'), 'template' => 'main/intro_index_single_tracker'));
        ?>
    <?php 
    } elseif ($project_count == 0) {
        ?>
        <?php 
        include_component('main/hideableInfoBoxModal', array('key' => 'index_no_projects', 'title' => __('Get started using The Bug Genie'), 'template' => 'main/intro_index_no_projects'));
        ?>
    <?php 
    }
}
?>
<table style="margin-top: 0px; table-layout: fixed; width: 100%;" cellpadding=0 cellspacing=0>
    <tr>
        <td class="side_bar">
            <?php 
include_component('main/menulinks', array('links' => $links, 'target_type' => 'main_menu', 'target_id' => 0, 'title' => __('Quick links')));
?>
            <?php 
\thebuggenie\core\framework\Event::createNew('core', 'index_left')->trigger();
?>
<?php

$tbg_response->addBreadcrumb(__('Clients'), null, tbg_get_breadcrumblinks('main_links'));
if ($client instanceof \thebuggenie\core\entities\Client) {
    $tbg_response->setTitle(__('Client dashboard for %client_name', array('%client_name' => $client->getName())));
    $tbg_response->setPage('client');
    $tbg_response->addBreadcrumb($client->getName(), make_url('client_dashboard', array('client_id' => $client->getID())), tbg_get_breadcrumblinks('client_list'));
} else {
    $tbg_response->setTitle(__('Client dashboard'));
    $tbg_response->addBreadcrumb(__('Client dashboard'));
}
?>

<?php 
if ($client instanceof \thebuggenie\core\entities\Client) {
    ?>
    <div class="client_dashboard">
        <div class="dashboard_client_info">
            <span class="dashboard_client_header"><?php 
    echo $client->getName();
    ?>
</span>
            <table>
                <tr>
                    <td style="padding-right: 10px">
                        <b><?php 
    echo __('Website:');
    ?>
</b> <?php 
    if ($client->getWebsite() == '') {
        ?>
Beispiel #9
0
<?php

$tbg_response->setTitle(__('About %sitename', array('%sitename' => \thebuggenie\core\framework\Settings::getSiteHeaderName())));
$tbg_response->addBreadcrumb(__('About %sitename', array('%sitename' => \thebuggenie\core\framework\Settings::getSiteHeaderName())), make_url('about'), tbg_get_breadcrumblinks('main_links'));
?>
<div class="rounded_box borderless mediumgrey" style="margin: 10px auto 0 auto; width: 500px; padding: 5px 5px 15px 5px; font-size: 13px; text-align: center;">
    <div style="text-align: left; padding: 10px;">
        <h1 style="font-size: 25px; margin-bottom: 0px; padding-bottom: 3px;">
            The Bug Genie
            <span style="font-size: 14px; font-weight: normal; color: #888;">
                <?php 
echo __('Version %thebuggenie_version', array('%thebuggenie_version' => \thebuggenie\core\framework\Settings::getVersion(true)));
?>
            </span>
        </h1>
        <h3 style="margin-top: 0; padding-top: 0;">Beautiful issue tracking and project management</h3>
        <?php 
echo __('The Bug Genie is an issue tracking system with a strong focus on being friendly &ndash; both for regular users and power users');
?>
.<br>
        <br>
        <?php 
echo __('The Bug Genie follows an open development model, and is released under an open source software license called the MPL (Mozilla Public License). This license gives you the freedom to pick up the sourcecode for The Bug Genie and work with it any way you need.');
?>
<br>
        <br>
        <?php 
echo __('Extend, develop and change The Bug Genie in any way you want, and do whatever you want with the new piece of software (The only thing you cannot do is call your software The Bug Genie). Please do send us your modifications for inclusion in The Bug Genie.');
?>
<br>
        <br>
<?php

$tbg_response->addBreadcrumb(__('Teams'), null, tbg_get_breadcrumblinks('main_links'));
if ($team instanceof TBGTeam) {
    $tbg_response->setTitle(__('Team dashboard for %team_name%', array('%team_name%' => $team->getName())));
    $tbg_response->setPage('team');
    $tbg_response->addBreadcrumb(__($team->getName()), make_url('team_dashboard', array('team_id' => $team->getID())), tbg_get_breadcrumblinks('team_list'));
} else {
    $tbg_response->setTitle(__('Team dashboard'));
    $tbg_response->addBreadcrumb(__('Team dashboard'));
}
?>

<div class="team_dashboard">
	<div class="dashboard_team_info">
		<span class="dashboard_team_header"><?php 
echo $team->getName();
?>
</span><br />
	</div>
	
	<table class="team_dashboard_table">
		<tr>
			<td class="team_dashboard_projects padded">
				<div class="header">
					<?php 
echo __('Projects for %team%', array('%team%' => __($team->getName())));
?>
				</div>
				<?php 
if (count($projects) > 0) {
Beispiel #11
0
<?php

$tbg_response->addBreadcrumb(__('Project settings'), null, tbg_get_breadcrumblinks('project_settings', $selected_project));
$tbg_response->setTitle(__('"%project_name" settings', array('%project_name' => $selected_project->getName())));
?>
			<?php 
include_template('project/projectheader', array('selected_project' => $selected_project));
?>
			<?php 
include_template('project/projectinfosidebar', array('selected_project' => $selected_project));
?>
			<div style="width: 790px;">
				<?php 
include_component('project/projectconfig', array('project' => $selected_project));
?>
			</div>
		</td>
	</tr>
</table>
<?php 
if ($settings_saved) {
    ?>
	<script type="text/javascript">
		document.observe('dom:loaded', function() {
			TBG.Main.Helpers.Message.success('<?php 
    echo __('Settings saved');
    ?>
', '<?php 
    echo __('Project settings have been saved successfully');
    ?>
');
Beispiel #12
0
<?php

$tbg_response->addBreadcrumb(__('Teams'), make_url('team_list'), tbg_get_breadcrumblinks('team_list'));
?>

<div class="team_list_header"><?php 
echo __('Teams');
?>
</div>

<div class="team_list">
    <?php 
if (count($teams) > 0) {
    foreach ($teams as $team) {
        if ($team->hasAccess()) {
            include_component('team', array('team' => $team));
        }
    }
} else {
    echo '<div class="no_items">', __('There are no teams.'), '</div>';
}
?>
</div>
<?php

$article_name = isset($article_name) ? $article_name : '';
if (!\thebuggenie\core\framework\Context::isProjectContext() || \thebuggenie\core\framework\Context::isProjectContext() && mb_strtolower($article_name) != mb_strtolower(\thebuggenie\core\framework\Context::getCurrentProject()->getKey() . ':mainpage')) {
    if (\thebuggenie\core\framework\Context::isProjectContext()) {
        $tbg_response->addBreadcrumb(\thebuggenie\core\framework\Context::getModule('publish')->getMenuTitle(), make_url('publish_article', array('article_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey() . ':MainPage')), tbg_get_breadcrumblinks('project_summary', \thebuggenie\core\framework\Context::getCurrentProject()));
    } else {
        $tbg_response->addBreadcrumb(\thebuggenie\core\framework\Context::getModule('publish')->getMenuTitle(), make_url('publish_article', array('article_name' => 'MainPage')), tbg_get_breadcrumblinks('main_links'));
    }
    $items = explode(':', $article_name);
    $bcpath = array_shift($items);
    if (mb_strtolower($bcpath) == 'category') {
        $tbg_response->addBreadcrumb(__('Categories'));
        if (\thebuggenie\core\framework\Context::isProjectContext()) {
            $bcpath .= ":" . array_shift($items);
        }
    } elseif (!\thebuggenie\core\framework\Context::isProjectContext() && mb_strtolower($bcpath) != 'mainpage') {
        $tbg_response->addBreadcrumb($bcpath, make_url('publish_article', array('article_name' => $bcpath)));
    }
    foreach ($items as $bc_name) {
        $bcpath .= ":" . $bc_name;
        $tbg_response->addBreadcrumb($bc_name, make_url('publish_article', array('article_name' => $bcpath)));
    }
} else {
    $tbg_response->addBreadcrumb(\thebuggenie\core\framework\Context::getModule('publish')->getMenuTitle(), make_url('publish_article', array('article_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey() . ':MainPage')), tbg_get_breadcrumblinks('project_summary', \thebuggenie\core\framework\Context::getCurrentProject()));
}
<?php

if ($issue instanceof \thebuggenie\core\entities\Issue) {
    ?>
    <?php 
    $tbg_response->addBreadcrumb(__('Issues'), make_url('project_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey())), tbg_get_breadcrumblinks('project_summary', \thebuggenie\core\framework\Context::getCurrentProject()));
    $tbg_response->addBreadcrumb($issue->getFormattedIssueNo(true, true), make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo())));
    $tbg_response->setTitle('[' . ($issue->isClosed() ? mb_strtoupper(__('Closed')) : mb_strtoupper(__('Open'))) . '] ' . $issue->getFormattedIssueNo(true) . ' - ' . tbg_decodeUTF8($issue->getTitle()));
    ?>
    <?php 
    \thebuggenie\core\framework\Event::createNew('core', 'viewissue_top', $issue)->trigger();
    ?>
    <div id="issuetype_indicator_fullpage" style="display: none;" class="fullpage_backdrop">
        <div style="position: absolute; top: 45%; left: 40; z-index: 100001; color: #FFF; font-size: 15px; font-weight: bold;">
            <?php 
    echo image_tag('spinning_32.gif');
    ?>
<br>
            <?php 
    echo __('Please wait while updating issue type');
    ?>
...
        </div>
    </div>
    <div id="issue_<?php 
    echo $issue->getID();
    ?>
" class="viewissue_container <?php 
    if ($issue->isBlocking()) {
        echo ' blocking';
    }
<?php

$article_name = isset($article_name) ? $article_name : '';
if (!TBGContext::isProjectContext() || TBGContext::isProjectContext() && mb_strtolower($article_name) != mb_strtolower(TBGContext::getCurrentProject()->getKey() . ':mainpage')) {
    if (TBGContext::isProjectContext()) {
        $tbg_response->addBreadcrumb(TBGPublish::getModule()->getMenuTitle(), make_url('publish_article', array('article_name' => TBGContext::getCurrentProject()->getKey() . ':MainPage')), tbg_get_breadcrumblinks('project_summary', TBGContext::getCurrentProject()));
    } else {
        $tbg_response->addBreadcrumb(TBGPublish::getModule()->getMenuTitle(), make_url('publish_article', array('article_name' => 'MainPage')), tbg_get_breadcrumblinks('main_links'));
    }
    $items = explode(':', $article_name);
    $bcpath = array_shift($items);
    if (mb_strtolower($bcpath) == 'category') {
        $tbg_response->addBreadcrumb(__('Categories'));
        if (TBGContext::isProjectContext()) {
            $bcpath .= ":" . array_shift($items);
        }
    } elseif (!TBGContext::isProjectContext() && mb_strtolower($bcpath) != 'mainpage') {
        $tbg_response->addBreadcrumb($bcpath, make_url('publish_article', array('article_name' => $bcpath)));
    }
    foreach ($items as $bc_name) {
        $bcpath .= ":" . $bc_name;
        $tbg_response->addBreadcrumb($bc_name, make_url('publish_article', array('article_name' => $bcpath)));
    }
} else {
    $tbg_response->addBreadcrumb(TBGPublish::getModule()->getMenuTitle(), make_url('publish_article', array('article_name' => TBGContext::getCurrentProject()->getKey() . ':MainPage')), tbg_get_breadcrumblinks('project_summary', TBGContext::getCurrentProject()));
}
<?php

$tbg_response->addBreadcrumb(__('Commits'), null, tbg_get_breadcrumblinks('project_summary', $selected_project));
$tbg_response->setTitle(__('"%project_name" commits', array('%project_name' => $selected_project->getName())));
include_component('project/projectheader', array('selected_project' => $selected_project, 'subpage' => __('Project commits')));
?>
<div id="project_release_center" class="project_info_container">
    <div class="project_right_container">
        <div class="project_right" id="project_release_center_container">
            <div id="project_commits" style="width: 790px;">
                <?php 
if ($commits == false) {
    ?>
                    <p class="faded_out"><?php 
    echo __('No commits have been found for this project');
    ?>
</p>
                <?php 
} else {
    ?>
                    <div class="project_commits_box">
                        <div id="commits">
                            <?php 
    include_component('vcs_integration/projectcommits', array('selected_project' => $selected_project, 'commits' => $commits));
    ?>
                        </div>

                        <div class="commits_next">
                            <input id="commits_offset" value="40" type="hidden">
                            <?php 
    echo image_tag('spinning_16.gif', array('id' => 'commits_indicator', 'style' => 'display: none; float: left; margin-right: 5px;'));
<?php

$tbg_response->addBreadcrumb(__('Report an issue'), make_url('project_reportissue', array('project_key' => TBGContext::getCurrentProject()->getKey())), tbg_get_breadcrumblinks('project_summary', TBGContext::getCurrentProject()));
$tbg_response->setTitle(__('Report an issue'));
$tbg_response->addJavascript('reportissue.js');
if (TBGContext::getCurrentProject()->isLocked() == true) {
    ?>
      <div class="rounded_box red borderless" id="notfound_error">
      		<div class="viewissue_info_header"><?php 
    echo __("Reporting disabled");
    ?>
</div>
      		<div class="viewissue_info_content">
      			<?php 
    if (isset($message) && $message) {
        ?>
      				<?php 
        echo $message;
        ?>
      			<?php 
    } else {
        ?>
      				<?php 
        echo __("The administrator has disabled reporting issues for this project");
        ?>
      			<?php 
    }
    ?>
      		</div>
      	</div>
      </div>
<?php

$tbg_response->setTitle(__('Dashboard'));
$tbg_response->addBreadcrumb(__('Personal dashboard'), make_url('dashboard'), tbg_get_breadcrumblinks('main_links'));
$tbg_response->addFeed(make_url('my_reported_issues', array('format' => 'rss')), __('Issues reported by me'));
$tbg_response->addFeed(make_url('my_assigned_issues', array('format' => 'rss')), __('Open issues assigned to you'));
$tbg_response->addFeed(make_url('my_teams_assigned_issues', array('format' => 'rss')), __('Open issues assigned to your teams'));
include_component('main/hideableInfoBoxModal', array('key' => 'dashboard_didyouknow', 'title' => __('Get started using The Bug Genie'), 'template' => 'main/profile_dashboard'));
?>
<table style="margin: 0 0 20px 0; table-layout: fixed; width: 100%; height: 100%;" cellpadding=0 cellspacing=0>
    <tr>
        <td id="dashboard_lefthand" class="side_bar<?php 
echo \thebuggenie\core\framework\Settings::getToggle('dashboard_lefthand') ? ' collapsed' : '';
?>
">
            <?php 
\thebuggenie\core\framework\Event::createNew('core', 'dashboard_left_top')->trigger();
?>
            <div class="collapser_link" onclick="TBG.Main.Dashboard.sidebar('<?php 
echo make_url('set_toggle_state', array('key' => 'dashboard_lefthand', 'state' => ''));
?>
', 'dashboard_lefthand');">
                <a href="javascript:void(0);">
                    <?php 
echo image_tag('sidebar_collapse.png', array('class' => 'collapser'));
?>
                    <?php 
echo image_tag('sidebar_expand.png', array('class' => 'expander'));
?>
                </a>
            </div>
    $tbg_response->addBreadcrumb(__('Issues'), make_url('project_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey())), tbg_get_breadcrumblinks('project_summary', \thebuggenie\core\framework\Context::getCurrentProject()));
    $tbg_response->addFeed(make_url('project_open_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Open issues for %project_name', array('%project_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getName())));
    $tbg_response->addFeed(make_url('project_allopen_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Open issues for %project_name (including subprojects)', array('%project_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getName())));
    $tbg_response->addFeed(make_url('project_closed_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Closed issues for %project_name', array('%project_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getName())));
    $tbg_response->addFeed(make_url('project_allclosed_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Closed issues for %project_name (including subprojects)', array('%project_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getName())));
    $tbg_response->addFeed(make_url('project_wishlist_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Wishlist for %project_name', array('%project_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getName())));
    $tbg_response->addFeed(make_url('project_milestone_todo_list', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Milestone todo-list for %project_name', array('%project_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getName())));
    $tbg_response->addFeed(make_url('project_month_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Issues reported for %project_name this month', array('%project_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getName())));
    $tbg_response->addFeed(make_url('project_last_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss', 'units' => 30, 'time_unit' => 'days')), __('Issues reported for %project_name last 30 days', array('%project_name' => \thebuggenie\core\framework\Context::getCurrentProject()->getName())));
    if (!\thebuggenie\core\entities\User::isThisGuest()) {
        $tbg_response->addFeed(make_url('project_my_reported_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Issues reported by me') . ' (' . \thebuggenie\core\framework\Context::getCurrentProject()->getName() . ')');
        $tbg_response->addFeed(make_url('project_my_assigned_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Open issues assigned to me') . ' (' . \thebuggenie\core\framework\Context::getCurrentProject()->getName() . ')');
        $tbg_response->addFeed(make_url('project_my_teams_assigned_issues', array('project_key' => \thebuggenie\core\framework\Context::getCurrentProject()->getKey(), 'format' => 'rss')), __('Open issues assigned to my teams') . ' (' . \thebuggenie\core\framework\Context::getCurrentProject()->getName() . ')');
    }
} else {
    $tbg_response->addBreadcrumb(__('Issues'), make_url('search'), tbg_get_breadcrumblinks('main_links'));
    if (!\thebuggenie\core\entities\User::isThisGuest()) {
        $tbg_response->addFeed(make_url('my_reported_issues', array('format' => 'rss')), __('Issues reported by me'));
        $tbg_response->addFeed(make_url('my_assigned_issues', array('format' => 'rss')), __('Open issues assigned to you'));
        $tbg_response->addFeed(make_url('my_teams_assigned_issues', array('format' => 'rss')), __('Open issues assigned to your teams'));
    }
}
?>
<table style="width: 100%; height: 100;" cellpadding="0" cellspacing="0">
    <tr>
        <?php 
include_component('search/sidebar', array('hide' => $show_results && $resultcount));
?>
        <td id="find_issues">
            <?php 
if ($search_error !== null) {
<?php

$tbg_response->setTitle('Your account details');
$tbg_response->addBreadcrumb(__('Account details'), make_url('account'), tbg_get_breadcrumblinks('main_links'));
?>
<table style="margin: 0 0 20px 0; table-layout: fixed; width: 100%; height: 100%;" cellpadding=0 cellspacing=0>
	<tr>
		<td id="account_lefthand" class="side_bar">
			<?php 
TBGEvent::createNew('core', 'account_left_top')->trigger();
?>
			<div class="rounded_box iceblue borderless account_details">
				<?php 
echo image_tag($tbg_user->getAvatarURL(false), array('style' => 'float: left; margin-right: 5px;'), true);
?>
				<div class="user_realname"><?php 
echo $tbg_user->getRealname();
?>
</div>
				<div class="user_username">
					(<?php 
echo $tbg_user->getUsername();
?>
)
				</div>
				<div class="user_status">
					<?php 
echo '<b>' . __('Status: %status%', array('%status%' => '</b>' . ($tbg_user->getState() instanceof TBGUserstate ? $tbg_user->getState()->getName() : '<span class="faded_out">' . __('Unknown') . '</span>')));
?>
				</div>
				<div style="font-size: 13px;">
<?php

$tbg_response->addBreadcrumb(__('Interactive planning'), null, tbg_get_breadcrumblinks('project_summary', $selected_project));
$tbg_response->setTitle(__('"%project_name%" project planning', array('%project_name%' => $selected_project->getName())));
?>
			<?php 
include_template('project/projectinfosidebar', array('selected_project' => $selected_project));
?>
			<div style="padding: 15px; color: #AAA; font-size: 12px;"><?php 
echo __('Interactive planning has not been added yet');
?>
</div>
			<div style="width: 330px; padding: 5px; margin: 5px 3px 5px 3px;">
				<?php 
/*foreach ($recent_ideas as $idea): ?>
		<?php endforeach; */
?>
			</div>
		</td>
	</tr>
</table>