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

PHP tbg_parse_text函数代码示例

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

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



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

示例1: __

</div>
			<?php 
    }
    ?>
			<?php 
    echo __('Last updated at %time%, by %user%', array('%time%' => tbg_formatTime($article->getPostedDate(), 3), '%user%' => '<b>' . ($article->getAuthor() instanceof TBGIdentifiable ? '<a href="javascript:void(0);" onclick="showFadedBackdrop(\'' . make_url('get_partial_for_backdrop', array('key' => 'usercard', 'user_id' => $article->getAuthor()->getID())) . '\');" class="faded_out">' . $article->getAuthor()->getName() . '</a>' : __('System')) . '</b>'));
    ?>
		</div>
	<?php 
}
?>
	<?php 
if ($show_article) {
    ?>
		<div class="content"><?php 
    echo tbg_parse_text($article->getContent(), true, $article->getID(), array('embedded' => $embedded, 'article' => $article));
    ?>
</div>
	<?php 
}
?>
</div>
<?php 
if ($article->isCategory() && !$embedded && $show_category_contains) {
    ?>
	<br style="clear: both;">
	<div style="margin: 15px 5px 5px 5px; clear: both;">
		<?php 
    if (count($article->getSubCategories()) > 0) {
        ?>
			<div class="header"><?php 
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:_articledisplay.inc.php


示例2: image_tag

        echo image_tag($module->getAccountSettingsLogo(), array('style' => 'float: left;'), false, $module_name) . $module->getAccountSettingsName();
        ?>
</a></li>
						<?php 
    }
    ?>
					<?php 
}
?>
				</ul>
			</div>
			<div id="account_tabs_panes">
				<div id="tab_profile_pane">
					<?php 
if (TBGSettings::getAuthenticationBackend() != 'tbg' && TBGSettings::getAuthenticationBackend() != null) {
    echo tbg_parse_text(TBGSettings::get('changedetails_message'), null, null, array('embedded' => true));
} else {
    ?>
					<form accept-charset="<?php 
    echo TBGContext::getI18n()->getCharset();
    ?>
" action="<?php 
    echo make_url('account_save_information');
    ?>
" onsubmit="updateProfileInformation('<?php 
    echo make_url('account_save_information');
    ?>
'); return false;" method="post" id="profile_information_form">
						<div class="rounded_box borderless lightgrey cut_bottom" style="margin: 5px 0 0 0; width: 690px; border-bottom: 0;">
							<p class="content"><?php 
    echo __('Edit your profile details here, including additional information.');
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:myaccount.html.php


示例3: tbg_parse_text

<?php

$projectHasDescription = TBGContext::getCurrentProject()->hasDescription();
?>
<div id="project_description"<?php 
if (!$projectHasDescription) {
    echo ' class="none"';
}
?>
>
	<?php 
if ($projectHasDescription) {
    echo tbg_parse_text(TBGContext::getCurrentProject()->getDescription());
} else {
    echo __('This project has no description');
}
?>
</div>
<?php 
if (TBGContext::getCurrentProject()->hasOwner()) {
    ?>
	<div class="project_role">
		<div class="label"><?php 
    echo __('Owned by: %name', array('%name' => ''));
    ?>
</div>
		<div class="value">
		<?php 
    echo include_component(TBGContext::getCurrentProject()->getOwner() instanceof TBGUser ? 'main/userdropdown' : 'main/teamdropdown', array('user' => TBGContext::getCurrentProject()->getOwner()));
    ?>
		</div>
开发者ID:oparoz,项目名称:thebuggenie,代码行数:31,代码来源:_dashboardviewprojectinfo.inc.php


示例4: tbg_parse_text

Buen d&iacute;a %user_buddyname%,<br>
El siguiente pedido ha sido creado por <?php 
echo $issue->getPostedBy()->getName();
?>
 :
<?php 
echo $issue->getIssuetype()->getName();
?>
 <?php 
echo $issue->getFormattedTitle(true);
?>
	
* El pedido ha sido creado con la siguiente descripci&oacute;n *
<?php 
echo tbg_parse_text($issue->getDescription());
?>
	
--
Ver el pedido : <?php 
echo link_tag(make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo()), false));
?>
Ver el panel de control del proyecto <?php 
echo $issue->getProject()->getName();
?>
 : <?php 
echo link_tag(make_url('project_dashboard', array('project_key' => $issue->getProject()->getKey()), false));
开发者ID:oparoz,项目名称:thebuggenie,代码行数:26,代码来源:_issuecreate.text.inc.php


示例5: tbg_parse_text

						<span id="project_name_span"><?php 
echo $selected_project->getName();
?>
</span><br>
						<span id="project_key_span"><?php 
echo $selected_project->getKey();
?>
</span>
					</div>
					<div>
						<span id="project_description_span">
							<?php 
if ($selected_project->hasDescription()) {
    ?>
								<?php 
    echo tbg_parse_text($selected_project->getDescription());
    ?>
							<?php 
}
?>
						</span>
					</div>
					<div id="project_no_description"<?php 
if ($selected_project->hasDescription()) {
    ?>
 style="display: none;"<?php 
}
?>
>
						<?php 
echo __('This project has no description');
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:_projectinfosidebar.inc.php


示例6: __

echo __('Description') . ':';
?>
 *
<?php 
echo tbg_parse_text($issue->getDescription());
?>

<?php 
if ($issue->getReproductionSteps()) {
    ?>
    * <?php 
    echo __('Reproduction steps') . ':';
    ?>
 *
    <?php 
    echo tbg_parse_text($issue->getReproductionSteps());
}
?>

<?php 
echo __('Show issue:') . ' ' . $module->generateURL('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo()));
?>

<?php 
echo __('Show %project project dashboard:', array('%project' => $issue->getProject()->getName())) . ' ' . $module->generateURL('project_dashboard', array('project_key' => $issue->getProject()->getKey()));
?>


<?php 
echo __('You were sent this notification email because you are related to the issue mentioned in this email.');
?>
开发者ID:founderio,项目名称:thebuggenie,代码行数:31,代码来源:_issuecreate.text.inc.php


示例7: tbg_parse_text

?>
            </ul>
        </div>
        <div id="account_tabs_panes">
            <div id="tab_profile_pane" style="<?php 
if ($selected_tab != 'profile') {
    ?>
 display: none;<?php 
}
?>
">
                <?php 
if (\thebuggenie\core\framework\Settings::isUsingExternalAuthenticationBackend()) {
    ?>
                    <?php 
    echo tbg_parse_text(\thebuggenie\core\framework\Settings::get('changedetails_message'), false, null, array('embedded' => true));
    ?>
                <?php 
} else {
    ?>
                    <form accept-charset="<?php 
    echo \thebuggenie\core\framework\Context::getI18n()->getCharset();
    ?>
" action="<?php 
    echo make_url('account_save_information');
    ?>
" onsubmit="TBG.Main.Profile.updateInformation('<?php 
    echo make_url('account_save_information');
    ?>
'); return false;" method="post" id="profile_information_form">
                        <h3><?php 
开发者ID:RTechSoft,项目名称:thebuggenie,代码行数:31,代码来源:myaccount.html.php


示例8: include_component

    ?>
</span> <?php 
}
?>
			</div>
			<div class="commenttitle">
				<?php 
include_component('main/userdropdown', array('user' => $commit->getAuthor(), 'size' => 'large'));
?>
			</div>
			<div class="commentdate" id="commit_<?php 
echo $commit->getID();
?>
_date">
				<?php 
echo tbg_formattime($commit->getDate(), 9);
?>
			</div>
		</div>

		<div class="commentbody article commit_main" id="commit_<?php 
echo $commit->getID();
?>
_body">
			<?php 
echo tbg_parse_text($commit->getLog());
?>
		</div>
	</div>
</div>
开发者ID:oparoz,项目名称:thebuggenie,代码行数:30,代码来源:_issuecommitbox.inc.php


示例9: image_tag

			</div>
			<div id="comment_delete_indicator_<?php 
echo $comment->getID();
?>
" style="display: none;">
				<?php 
echo image_tag('spinning_16.gif', array('class' => 'spinning'));
?>
			</div>
		</div>
		<div class="commentbody article" id="comment_<?php 
echo $comment->getID();
?>
_body">
			<?php 
echo tbg_parse_text($comment->getContent(), false, null, $options);
?>
		</div>
	</div>
	
	<div id="comment_edit_<?php 
echo $comment->getID();
?>
" class="comment_edit" style="display: none;">
		<form id="comment_edit_form_<?php 
echo $comment->getID();
?>
" action="<?php 
echo make_url('comment_update', array('comment_id' => $comment->getID()));
?>
" method="post" onSubmit="updateComment('<?php 
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:_comment.inc.php


示例10: __

									<div class="faded_out" id="no_reproduction_steps" <?php 
    if ($issue->getReproductionSteps() != '') {
        ?>
 style="display: none;" <?php 
    }
    ?>
><?php 
    echo __('Nothing entered.');
    ?>
</div>
									<div id="reproduction_steps_name" class="issue_inline_description">
										<?php 
    if ($issue->getReproductionSteps()) {
        ?>
											<?php 
        echo tbg_parse_text($issue->getReproductionSteps(), false, null, array('headers' => false, 'issue' => $issue));
        ?>
										<?php 
    }
    ?>
									</div>
								</div>
								<?php 
    if ($issue->isEditable() && $issue->canEditReproductionSteps()) {
        ?>
									<div id="reproduction_steps_change" style="display: none;">
										<form id="reproduction_steps_form" action="<?php 
        echo make_url('issue_setfield', array('project_key' => $issue->getProject()->getKey(), 'issue_id' => $issue->getID(), 'field' => 'reproduction_steps'));
        ?>
" method="post" onSubmit="setField('<?php 
        echo make_url('issue_setfield', array('project_key' => $issue->getProject()->getKey(), 'issue_id' => $issue->getID(), 'field' => 'reproduction_steps'));
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:viewissue.html.php


示例11: tbg_parse_text

Hi, %user_buddyname%!
A comment has been added to <?php 
echo TBGContext::getI18n()->__($issue->getIssueType()->getName());
?>
 <?php 
echo $issue->getFormattedIssueNo(true);
?>
 - <?php 
echo $issue->getTitle();
?>
 by <?php 
echo $comment->getPostedBy()->getName();
?>
:

<?php 
echo tbg_parse_text($comment->getContent());
?>

---
Show issue: <?php 
echo make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo()), false);
?>
Show <?php 
echo $issue->getProject()->getName();
?>
 project dashboard: <?php 
echo make_url('project_dashboard', array('project_key' => $issue->getProject()->getKey()), false);
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:28,代码来源:_issuecomment.text.inc.php


示例12: tbg_parse_text

if ($reposname !== null) {
    ?>
<span class="commitrepos"><?php 
    echo $reposname;
    ?>
/</span> <?php 
}
?>
                <?php 
if ($branchname !== null) {
    ?>
<span class="commitbranch"><?php 
    echo $branchname;
    ?>
</span> <?php 
}
?>
            </div>
        </div>

        <div class="commentbody article commit_main" id="commit_<?php 
echo $commit->getID();
?>
_body">
            <?php 
echo tbg_parse_text(trim($commit->getLog()), false, null, array('target' => $commit));
?>
        </div>
    </div>
</div>
开发者ID:founderio,项目名称:thebuggenie,代码行数:30,代码来源:_issuecommitbox.inc.php


示例13: foreach

					<ul class="simple_list">
						<?php 
        foreach ($articles as $article) {
            ?>
						<li style="margin-bottom: 0;">
							<?php 
            echo link_tag(make_url('publish_article', array('article_name' => $article->getName())), $article->getName(), array('style' => 'font-size: 1.1em;'));
            ?>
<br>
							<div class="faded_out"><?php 
            echo __('Last updated %updated_at%', array('%updated_at%' => tbg_formatTime($article->getLastUpdatedDate(), 6)));
            ?>
</div>
							<div class="article_preview">
								<?php 
            echo tbg_parse_text(substr($article->getContent(), 0, 300), false, null, array('headers' => false, 'show_title' => false, 'show_details' => false, 'show_actions' => false, 'embedded' => true));
            ?>
							</div>
						</li>
						<?php 
        }
        ?>
					</ul>
				<?php 
    } else {
        ?>
					<div class="faded_out" style="font-size: 1.3em;"><?php 
        echo __('No articles found');
        ?>
</div>
				<?php 
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:findarticles.html.php


示例14: tbg_parse_text

<?php

if (TBGSettings::hasMaintenanceMessage()) {
    echo '<div class="offline_msg">' . tbg_parse_text(TBGSettings::getMaintenanceMessage()) . '</div>';
} else {
    ?>
						<div class="offline_msg">
							<div class="generic_offline rounded_box red borderless">
								<?php 
    echo __('This site has been temporarily disabled for maintenance. Please try again later.');
    ?>
							</div>
						</div>
						<?php 
}
开发者ID:oparoz,项目名称:thebuggenie,代码行数:15,代码来源:offline.inc.php


示例15: elseif

} elseif (mb_substr($link['url'], 0, 1) == '@') {
    ?>
        <?php 
    echo link_tag(make_url($link['url']), $link['description'] != '' ? tbg_parse_text($link['description'], false, null, array('embedded' => true)) : strip_tags($link['url']));
    ?>
    <?php 
} elseif ($link['url'] != '') {
    ?>
        <?php 
    echo link_tag($link['url'], $link['description'] != '' ? tbg_parse_text($link['description'], false, null, array('embedded' => true)) : strip_tags($link['url']));
    ?>
    <?php 
} elseif ($link['description'] != '') {
    ?>
        <?php 
    echo tbg_parse_text($link['description'], false, null, array('embedded' => true));
    ?>
    <?php 
} else {
    ?>
        &nbsp;
    <?php 
}
?>
    <?php 
if ($tbg_user->canEditMainMenu()) {
    ?>
        <?php 
    echo javascript_link_tag(image_tag('action_delete.png'), array('class' => 'delete-icon', 'style' => 'float: right;', 'onclick' => "TBG.Main.Helpers.Dialog.show('" . __('Please confirm') . "', '" . __('Do you really want to delete this link?') . "', {yes: {click: function() {TBG.Main.Link.remove('" . make_url('remove_link', array('target_type' => $link['target_type'], 'target_id' => $link['target_id'], 'link_id' => $link_id)) . "', '{$link['target_type']}', '{$link['target_id']}', " . $link_id . "); }}, no: {click: TBG.Main.Helpers.Dialog.dismiss}})"));
    ?>
    <?php 
开发者ID:JonathanRH,项目名称:thebuggenie,代码行数:31,代码来源:_menulink.inc.php


示例16: runIssueRevertField


//.........这里部分代码省略.........
             $field = array('id' => 1, 'name' => strip_tags($issue->getShortname()));
             break;
         case 'category':
             $issue->revertCategory();
             $field = $issue->getCategory() instanceof entities\Category ? array('id' => $issue->getCategory()->getID(), 'name' => $issue->getCategory()->getName()) : array('id' => 0);
             break;
         case 'resolution':
             $issue->revertResolution();
             $field = $issue->getResolution() instanceof entities\Resolution ? array('id' => $issue->getResolution()->getID(), 'name' => $issue->getResolution()->getName()) : array('id' => 0);
             break;
         case 'severity':
             $issue->revertSeverity();
             $field = $issue->getSeverity() instanceof entities\Severity ? array('id' => $issue->getSeverity()->getID(), 'name' => $issue->getSeverity()->getName()) : array('id' => 0);
             break;
         case 'reproducability':
             $issue->revertReproducability();
             $field = $issue->getReproducability() instanceof entities\Reproducability ? array('id' => $issue->getReproducability()->getID(), 'name' => $issue->getReproducability()->getName()) : array('id' => 0);
             break;
         case 'priority':
             $issue->revertPriority();
             $field = $issue->getPriority() instanceof entities\Priority ? array('id' => $issue->getPriority()->getID(), 'name' => $issue->getPriority()->getName()) : array('id' => 0);
             break;
         case 'percent_complete':
             $issue->revertPercentCompleted();
             $field = $issue->getPercentCompleted();
             break;
         case 'status':
             $issue->revertStatus();
             $field = $issue->getStatus() instanceof entities\Status ? array('id' => $issue->getStatus()->getID(), 'name' => $issue->getStatus()->getName(), 'color' => $issue->getStatus()->getColor()) : array('id' => 0);
             break;
         case 'pain_bug_type':
             $issue->revertPainBugType();
             $field = $issue->hasPainBugType() ? array('id' => $issue->getPainBugType(), 'name' => $issue->getPainBugTypeLabel(), 'user_pain' => $issue->getUserPain()) : array('id' => 0, 'user_pain' => $issue->getUserPain());
             break;
         case 'pain_likelihood':
             $issue->revertPainLikelihood();
             $field = $issue->hasPainLikelihood() ? array('id' => $issue->getPainLikelihood(), 'name' => $issue->getPainLikelihoodLabel(), 'user_pain' => $issue->getUserPain()) : array('id' => 0, 'user_pain' => $issue->getUserPain());
             break;
         case 'pain_effect':
             $issue->revertPainEffect();
             $field = $issue->hasPainEffect() ? array('id' => $issue->getPainEffect(), 'name' => $issue->getPainEffectLabel(), 'user_pain' => $issue->getUserPain()) : array('id' => 0, 'user_pain' => $issue->getUserPain());
             break;
         case 'issuetype':
             $issue->revertIssuetype();
             $field = $issue->getIssuetype() instanceof entities\Issuetype ? array('id' => $issue->getIssuetype()->getID(), 'name' => $issue->getIssuetype()->getName(), 'src' => htmlspecialchars(framework\Context::getWebroot() . 'images/' . $issue->getIssuetype()->getIcon() . '_small.png')) : array('id' => 0);
             $visible_fields = $issue->getIssuetype() instanceof entities\Issuetype ? $issue->getProject()->getVisibleFieldsArray($issue->getIssuetype()->getID()) : array();
             return $this->renderJSON(array('ok' => true, 'issue_id' => $issue->getID(), 'field' => $field, 'visible_fields' => $visible_fields));
             break;
         case 'milestone':
             $issue->revertMilestone();
             $field = $issue->getMilestone() instanceof entities\Milestone ? array('id' => $issue->getMilestone()->getID(), 'name' => $issue->getMilestone()->getName()) : array('id' => 0);
             break;
         case 'estimated_time':
             $issue->revertEstimatedTime();
             return $this->renderJSON(array('ok' => true, 'issue_id' => $issue->getID(), 'field' => $issue->hasEstimatedTime() ? array('id' => 1, 'name' => entities\Issue::getFormattedTime($issue->getEstimatedTime(true, true))) : array('id' => 0), 'values' => $issue->getEstimatedTime(true, true), 'percentbar' => $this->getComponentHTML('main/percentbar', array('percent' => $issue->getEstimatedPercentCompleted(), 'height' => 3))));
             break;
         case 'spent_time':
             $issue->revertSpentTime();
             return $this->renderJSON(array('ok' => true, 'issue_id' => $issue->getID(), 'field' => $issue->hasSpentTime() ? array('id' => 1, 'name' => entities\Issue::getFormattedTime($issue->getSpentTime(true, true))) : array('id' => 0), 'values' => $issue->getSpentTime(true, true)));
             break;
         case 'owned_by':
             $issue->revertOwner();
             return $this->renderJSON(array('changed' => $issue->isOwnerChanged(), 'field' => $issue->isOwned() ? array('id' => $issue->getOwner()->getID(), 'name' => $issue->getOwner() instanceof entities\User ? $this->getComponentHTML('main/userdropdown', array('user' => $issue->getOwner())) : $this->getComponentHTML('main/teamdropdown', array('team' => $issue->getOwner()))) : array('id' => 0)));
             break;
         case 'assigned_to':
             $issue->revertAssignee();
             return $this->renderJSON(array('changed' => $issue->isAssigneeChanged(), 'field' => $issue->isAssigned() ? array('id' => $issue->getAssignee()->getID(), 'name' => $issue->getAssignee() instanceof entities\User ? $this->getComponentHTML('main/userdropdown', array('user' => $issue->getAssignee())) : $this->getComponentHTML('main/teamdropdown', array('team' => $issue->getAssignee()))) : array('id' => 0)));
             break;
         case 'posted_by':
             $issue->revertPostedBy();
             return $this->renderJSON(array('changed' => $issue->isPostedByChanged(), 'field' => array('id' => $issue->getPostedByID(), 'name' => $this->getComponentHTML('main/userdropdown', array('user' => $issue->getPostedBy())))));
             break;
         default:
             if ($customdatatype = entities\CustomDatatype::getByKey($request['field'])) {
                 $key = $customdatatype->getKey();
                 $revert_methodname = "revertCustomfield{$key}";
                 $issue->{$revert_methodname}();
                 if ($customdatatype->hasCustomOptions()) {
                     $field = $issue->getCustomField($key) instanceof entities\CustomDatatypeOption ? array('value' => $issue->getCustomField($key)->getID(), 'name' => $issue->getCustomField($key)->getName()) : array('id' => 0);
                 } else {
                     switch ($customdatatype->getType()) {
                         case entities\CustomDatatype::INPUT_TEXTAREA_MAIN:
                         case entities\CustomDatatype::INPUT_TEXTAREA_SMALL:
                             $field = $issue->getCustomField($key) != '' ? array('value' => $key, 'name' => tbg_parse_text($issue->getCustomField($key))) : array('id' => 0);
                             break;
                         default:
                             $field = $issue->getCustomField($key) != '' ? array('value' => $key, 'name' => $issue->getCustomField($key)) : array('id' => 0);
                             break;
                     }
                 }
             }
             break;
     }
     if ($field !== null) {
         return $this->renderJSON(array('ok' => true, 'issue_id' => $issue->getID(), 'field' => $field));
     } else {
         $this->getResponse()->setHttpStatus(400);
         return $this->renderJSON(array('error' => framework\Context::getI18n()->__('No valid field specified (%field)', array('%field' => $request['field']))));
     }
 }
开发者ID:nrensen,项目名称:thebuggenie,代码行数:101,代码来源:Main.php


示例17: __

        <?php 
} else {
    ?>
            <div style="color: #AAA; padding: 2px; width: auto;"><?php 
    echo __('None');
    ?>
</div>
        <?php 
}
?>
    </div>
    <?php 
if ($project->hasDescription()) {
    ?>
        <div colspan="2" style="padding: 3px;"><?php 
    echo tbg_parse_text($project->getDescription());
    ?>
</div>
    <?php 
}
?>
    <?php 
if ($access_level == \thebuggenie\core\framework\Settings::ACCESS_FULL) {
    ?>
        <div style="position: absolute; right: 20px; top: 20px;">
            <div style="float: left; margin-right: 10px; display: none;" id="project_<?php 
    echo $project->getID();
    ?>
_archive_indicator"><?php 
    echo image_tag('spinning_16.gif');
    ?>
开发者ID:pkdevboxy,项目名称:thebuggenie,代码行数:31,代码来源:_projectbox.inc.php


示例18: tbg_parse_text

<div id="tab_forgot_pane"<?php 
if ($selected_tab != 'forgot') {
    ?>
 style="display: none;<?php 
}
?>
">
<?php 
if (TBGSettings::getAuthenticationBackend() != 'tbg' && TBGSettings::getAuthenticationBackend() != null) {
    echo tbg_parse_text(TBGSettings::get('forgot_message'), null, null, array('embedded' => true));
} else {
    ?>
	<div style="vertical-align: middle; padding: 5px;">
		<form accept-charset="<?php 
    echo TBGContext::getI18n()->getCharset();
    ?>
" action="<?php 
    echo make_url('forgot');
    ?>
" method="post" id="forgot_password_form" onsubmit="resetForgotPassword('<?php 
    echo make_url('forgot');
    ?>
'); return false;">
			<div class="login_boxheader"><?php 
    echo __('Forgot password?');
    ?>
</div>
			<p><?php 
    echo __('If you have forgot your password, enter your username here, and we will send you an email that will allow you to change your password');
    ?>
.</p><br>
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:_forgotPasswordPane.inc.php


示例19: __

echo __('Denied');
?>
</span>
	</div>
	<div style="clear: both; padding: 10px 0 5px 5px;">
		<?php 
if (!$user_id) {
    ?>
			<?php 
    echo tbg_parse_text(__("Edit all global, group and team permissions from this page - user-specific permissions are handled from the [[TBG:configure_users|user configuration page]]. The Bug Genie permissions are thoroughly explained in [[ConfigurePermissions]] in the wiki - look it up if you're ever stuck.", array(), true));
    ?>
		<?php 
} else {
    ?>
			<?php 
    echo tbg_parse_text(__("Edit all user-specific permissions from this page - global, group and team permissions are handled from the [[TBG:configure_permissions|permissions configuration page]]. The Bug Genie permissions are thoroughly explained in [[ConfigurePermissions]] in the wiki - look it up if you're ever stuck.", array(), true));
    ?>
		<?php 
}
?>
	</div>
</div>
<div style="margin: 10px 0 0 0; clear: both; height: 30px;" class="tab_menu">
	<ul id="permissions_<?php 
echo $base_id;
?>
_tabs">
		<li class="selected" id="<?php 
echo $base_id;
?>
_tab_general"><a onclick="switchSubmenuTab('<?php 
开发者ID:ronaldbroens,项目名称:thebuggenie,代码行数:31,代码来源:_permissionsconfigurator.inc.php


示例20: image_tag

                    </div>
                    <div style="clear: both;">
                        <?php 
echo image_tag('permission_set_denied.png', array('style' => 'float: left; margin: 0 5px 0 10px;'));
?>
<span style="float: left;"><?php 
echo __('Denied');
?>
</span>
                    </div>
                </div>
                <p>
                    <?php 
echo tbg_parse_text(__("Edit all global group and team permissions from this page - user-specific permissions are handled from the [[TBG:configure_users|user configuration page]], and permissions for specific issue fields are available from the [[TBG:configure_issuefields|issue fields configuration page]].", array(), true));
?>
<br>
                    <br>
                    <?php 
echo tbg_parse_text(__("The Bug Genie permissions are thoroughly explained in [[ConfigurePermissions]] in the wiki - look it up if you're ever stuck.", array(), true));
?>
                </p>
                <div id="config_permissions" class="" style="clear: both;">
                    <?php 
include_component('configuration/permissionsconfigurator', array('access_level' => $access_level, 'base_id' => 'configurator'));
?>
                </div>
            </div>
        </td>
    </tr>
</table>
开发者ID:founderio,项目名称:thebuggenie,代码行数:30,代码来源:configurepermissions.html.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP tbl函数代码示例发布时间:2022-05-23
下一篇:
PHP tbg_get_breadcrumblinks函数代码示例发布时间: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