• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP tbg_get_breadcrumblinks函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中tbg_get_breadcrumblinks函数的典型用法代码示例。如果您正苦于以下问题:PHP tbg_get_breadcrumblinks函数的具体用法?PHP tbg_get_breadcrumblinks怎么用?PHP tbg_get_breadcrumblinks使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了tbg_get_breadcrumblinks函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: tbg_get_breadcrumblinks

<?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) {
            ?>
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:31,代码来源:releasecenter.html.php


示例2: tbg_get_breadcrumblinks

<?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()));
?>
开发者ID:founderio,项目名称:thebuggenie,代码行数:31,代码来源:teamdashboard.html.php


示例3: make_url

<?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() == '') {
        ?>
开发者ID:nrensen,项目名称:thebuggenie,代码行数:31,代码来源:clientdashboard.html.php


示例4: tbg_get_pagename

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');
}
开发者ID:underblaze,项目名称:thebuggenie-4.1.0,代码行数:5,代码来源:common.inc.php


示例5: array

<?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>
开发者ID:oparoz,项目名称:thebuggenie,代码行数:31,代码来源:about.html.php


示例6: tbg_get_breadcrumblinks

<?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 
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:31,代码来源:team.html.php


示例7: make_url

<?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();
?>
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:31,代码来源:index.html.php


示例8: tbg_get_breadcrumblinks

<?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() == '') {
        ?>
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:31,代码来源:clientdashboard.html.php


示例9: array

<?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>
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:31,代码来源:about.html.php


示例10: tbg_get_breadcrumblinks

<?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) {
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:teamdashboard.html.php


示例11: tbg_get_breadcrumblinks

<?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');
    ?>
');
开发者ID:oparoz,项目名称:thebuggenie,代码行数:31,代码来源:settings.html.php


示例12: make_url

<?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>
开发者ID:nrensen,项目名称:thebuggenie,代码行数:23,代码来源:teamlist.html.php


示例13: isset

<?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()));
}
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:26,代码来源:_wikibreadcrumbs.inc.php


示例14: make_url

<?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';
    }
开发者ID:shoreless-Limited,项目名称:thebuggenie,代码行数:31,代码来源:viewissue.html.php


示例15: isset

<?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()));
}
开发者ID:oparoz,项目名称:thebuggenie,代码行数:26,代码来源:_wikibreadcrumbs.inc.php


示例16: tbg_get_breadcrumblinks

<?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;'));
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:31,代码来源:projectcommits.html.php


示例17: make_url

<?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>
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:reportissue.html.php


示例18: make_url

<?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>
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:31,代码来源:dashboard.html.php


示例19: make_url

    $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) {
开发者ID:shoreless-Limited,项目名称:thebuggenie,代码行数:31,代码来源:findissues.html.php


示例20: make_url

<?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;">
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:myaccount.html.php



注:本文中的tbg_get_breadcrumblinks函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP tbg_parse_text函数代码示例发布时间:2022-05-23
下一篇:
PHP tbg_formatTime函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap