当前位置: 首页>>代码示例>>PHP>>正文


PHP Issue::getLanguageName方法代码示例

本文整理汇总了PHP中Issue::getLanguageName方法的典型用法代码示例。如果您正苦于以下问题:PHP Issue::getLanguageName方法的具体用法?PHP Issue::getLanguageName怎么用?PHP Issue::getLanguageName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Issue的用法示例。


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

示例1: array

<P>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box">
<TR>
	<TD COLSPAN="2">
		<B> <?php 
echo $translator->trans("Duplicating section", array(), 'sections');
?>
 </B>
		<HR NOSHADE SIZE="1" COLOR="BLACK">
	</TD>
</TR>
<TR>
	<TD COLSPAN="2">
		<BLOCKQUOTE>
 	  <?php 
echo $translator->trans('Section $1 has been duplicated to $2. $3 of $4', array('$1' => '<B>' . $srcSectionObj->getName() . '</B>', '$2' => '<B>' . $dstSectionObj->getIssueNumber() . '</B>', '$3' => '<B>' . $dstIssueObj->getName() . ' (' . $dstIssueObj->getLanguageName() . ')</B>', '$4' => '<B>' . $dstPublicationObj->getName() . '</B>'), 'sections');
?>
		</BLOCKQUOTE>
	</TD>
</TR>
<TR>
	<TD COLSPAN="2">
		<DIV ALIGN="CENTER">
            <table>
            <tr>
                <td>
                   <b><a href="<?php 
echo "/{$ADMIN}/sections/edit.php?Pub={$f_dest_publication_id}&Issue={$f_dest_issue_number}&Section={$f_dest_section_number}&Language={$f_language_id}";
?>
"><?php 
echo $translator->trans("Go to new section", array(), 'sections');
开发者ID:sourcefabric,项目名称:newscoop,代码行数:31,代码来源:duplicate_complete.php

示例2: putGS

<FORM METHOD="POST" ACTION="do_del.php">
<?php echo SecurityToken::FormParameter(); ?>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box">
<TR>
	<TD COLSPAN="2">
		<B> <?php  putGS("Delete issue"); ?> </B>
		<HR NOSHADE SIZE="1" COLOR="BLACK">
	</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
		<?php putGS('There are $1 articles in this issue.', '<b>'.$numArticles.'</b>'); ?>
	</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center"><?php  putGS('Are you sure you want to delete the issue $1?','<B>'.htmlspecialchars($issueObj->getName()).' ('.$issueObj->getLanguageName().')</B>'); ?></TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
	<INPUT TYPE="HIDDEN" NAME="f_publication_id" VALUE="<?php p($f_publication_id); ?>">
	<INPUT TYPE="HIDDEN" NAME="f_issue_number" VALUE="<?php p($f_issue_number); ?>">
	<INPUT TYPE="HIDDEN" NAME="f_language_id" VALUE="<?php p($f_language_id); ?>">
	<INPUT TYPE="submit" class="button" NAME="Yes" VALUE="<?php  putGS('Yes'); ?>">
	&nbsp;&nbsp;&nbsp;&nbsp;
	<INPUT TYPE="button" class="button" NAME="No" VALUE="<?php  putGS('No'); ?>" ONCLICK="location.href='/<?php p($ADMIN);?>/issues/?Pub=<?php p($f_publication_id); ?>'">
	</TD>
</TR>
</TABLE>
    </FORM>
<P>
开发者ID:nistormihai,项目名称:Newscoop,代码行数:30,代码来源:delete.php

示例3: array

echo $translator->trans("Delete issue", array(), 'issues');
?>
 </B>
		<HR NOSHADE SIZE="1" COLOR="BLACK">
	</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
		<?php 
echo $translator->trans('There are $1 articles in this issue.', array('$1' => '<b>' . $numArticles . '</b>'), 'issues');
?>
	</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center"><?php 
echo $translator->trans('Are you sure you want to delete the issue $1?', array('$1' => '<B>' . htmlspecialchars($issueObj->getName()) . ' (' . $issueObj->getLanguageName() . ')</B>'), 'issues');
?>
</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
	<INPUT TYPE="HIDDEN" NAME="f_publication_id" VALUE="<?php 
p($f_publication_id);
?>
">
	<INPUT TYPE="HIDDEN" NAME="f_issue_number" VALUE="<?php 
p($f_issue_number);
?>
">
	<INPUT TYPE="HIDDEN" NAME="f_language_id" VALUE="<?php 
p($f_language_id);
开发者ID:alvsgithub,项目名称:Newscoop,代码行数:31,代码来源:delete.php

示例4: p

    echo $ADMIN;
    ?>
/issues/do_status.php?Pub=<?php 
    p($Pub);
    ?>
&Issue=<?php 
    p($issueObj->getIssueNumber());
    ?>
&Language=<?php 
    p($issueObj->getLanguageId());
    ?>
&f_target=edit.php&<?php 
    echo SecurityToken::URLParameter();
    ?>
" onclick="return confirm('<?php 
    putGS('Are you sure you want to change the issue $1 status from $2 to $3?', $issueObj->getIssueNumber() . '. ' . htmlspecialchars($issueObj->getName()) . ' (' . htmlspecialchars($issueObj->getLanguageName()) . ')', "\\'{$t2}\\'", "\\'{$t3}\\'");
    ?>
		');">
				<?php 
    if ($issueObj->getWorkflowStatus() == 'Y') {
        print putGS("Unpublish");
    } else {
        print putGS("Click here to publish this issue");
    }
    ?>
				</A>
			</TD>
		</TR>
		<?php 
}
if (SaaS::singleton()->hasPermission('ManageIssueTemplates')) {
开发者ID:nidzix,项目名称:Newscoop,代码行数:31,代码来源:edit.php

示例5: getGS

			<TD>
				<?php
				if ($issueObj->getWorkflowStatus() == 'Y') {
					$t2 = getGS('Published');
					$t3 = getGS('Not published');
				}
				else {
					$t2 = getGS('Not published');
					$t3 = getGS('Published');
				}
				?>

				<?php if ($issueObj->getWorkflowStatus() == 'Y') { ?>
				<INPUT TYPE="TEXT" class="input_text" NAME="f_publication_date" SIZE="20" MAXLENGTH="19" value="<?php  p(htmlspecialchars($issueObj->getPublicationDate())); ?>">
				<?php } ?>
				<A HREF="/<?php echo $ADMIN; ?>/issues/do_status.php?Pub=<?php p($Pub); ?>&Issue=<?php  p($issueObj->getIssueNumber()); ?>&Language=<?php p($issueObj->getLanguageId()); ?>&f_target=edit.php&<?php echo SecurityToken::URLParameter(); ?>" onclick="return confirm('<?php  putGS('Are you sure you want to change the issue $1 status from $2 to $3?',$issueObj->getIssueNumber().'. '.htmlspecialchars($issueObj->getName()).' ('.htmlspecialchars($issueObj->getLanguageName()).')',"\'$t2\'","\'$t3\'"); ?>
		');">
				<?php if ($issueObj->getWorkflowStatus() == 'Y') {
						print putGS("Unpublish");
					} else {
						print putGS("Click here to publish this issue");
					}
				?>
				</A>
			</TD>
		</TR>

		<TR>
			<TD COLSPAN="2" style="padding-top: 20px;">
				<B><?php  putGS("Default templates"); ?></B>
				<HR NOSHADE SIZE="1" COLOR="BLACK">
开发者ID:nistormihai,项目名称:Newscoop,代码行数:31,代码来源:edit.php

示例6: p

    echo $ADMIN;
    ?>
/issues/do_status.php?Pub=<?php 
    p($Pub);
    ?>
&Issue=<?php 
    p($issueObj->getIssueNumber());
    ?>
&Language=<?php 
    p($issueObj->getLanguageId());
    ?>
&f_target=edit.php&<?php 
    echo SecurityToken::URLParameter();
    ?>
" onclick="return confirm('<?php 
    echo $translator->trans('Are you sure you want to change the issue $1 status from $2 to $3?', array('$1' => $issueObj->getIssueNumber() . '. ' . htmlspecialchars($issueObj->getName()) . ' (' . htmlspecialchars($issueObj->getLanguageName()) . ')', '$2' => "\\'{$t2}\\'", '$3' => "\\'{$t3}\\'"), 'issues');
    ?>
		');">
				<?php 
    if ($issueObj->getWorkflowStatus() == 'Y') {
        print $translator->trans("Unpublish");
    } else {
        print $translator->trans("Click here to publish this issue", array(), 'issues');
    }
    ?>
				</A>
			</TD>
		</TR>
		<?php 
}
if (SaaS::singleton()->hasPermission('ManageIssueTemplates')) {
开发者ID:alvsgithub,项目名称:Newscoop,代码行数:31,代码来源:edit.php

示例7: htmlspecialchars

putGS("Delete issue");
?>
 </B>
		<HR NOSHADE SIZE="1" COLOR="BLACK">
	</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
		<?php 
putGS('There are $1 articles in this issue.', '<b>' . $numArticles . '</b>');
?>
	</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center"><?php 
putGS('Are you sure you want to delete the issue $1?', '<B>' . htmlspecialchars($issueObj->getName()) . ' (' . $issueObj->getLanguageName() . ')</B>');
?>
</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
	<INPUT TYPE="HIDDEN" NAME="f_publication_id" VALUE="<?php 
p($f_publication_id);
?>
">
	<INPUT TYPE="HIDDEN" NAME="f_issue_number" VALUE="<?php 
p($f_issue_number);
?>
">
	<INPUT TYPE="HIDDEN" NAME="f_language_id" VALUE="<?php 
p($f_language_id);
开发者ID:nidzix,项目名称:Newscoop,代码行数:31,代码来源:delete.php

示例8: array

$topArray = array('Pub' => $srcPublicationObj, 'Issue' => $srcIssueObj, 'Section' => $srcSectionObj);
camp_html_content_top(getGS('Duplicating section'), $topArray);

?>
<P>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box">
<TR>
	<TD COLSPAN="2">
		<B> <?php  putGS("Duplicating section"); ?> </B>
		<HR NOSHADE SIZE="1" COLOR="BLACK">
	</TD>
</TR>
<TR>
	<TD COLSPAN="2">
		<BLOCKQUOTE>
 	  <?php  putGS('Section $1 has been duplicated to $2. $3 of $4', '<B>'.$srcSectionObj->getName().'</B>', '<B>'.$dstSectionObj->getIssueNumber().'</B>', '<B>'.$dstIssueObj->getName().' ('.$dstIssueObj->getLanguageName().')</B>', '<B>'.$dstPublicationObj->getName().'</B>'); ?>
		</BLOCKQUOTE>
	</TD>
</TR>
<TR>
	<TD COLSPAN="2">
		<DIV ALIGN="CENTER">
            <table>
            <tr>
                <td>
                   <b><a href="<?php echo "/$ADMIN/sections/edit.php?Pub=$f_dest_publication_id&Issue=$f_dest_issue_number&Section=$f_dest_section_number&Language=$f_language_id"; ?>"><?php putGS("Go to new section"); ?></a></b>
                </td>
                <td style="padding-left: 50px;">
    	           <b><a href="<?php echo "/$ADMIN/sections/edit.php?Pub=$f_src_publication_id&Issue=$f_src_issue_number&Section=$f_src_section_number&Language=$f_language_id"; ?>"><?php putGS("Go to source section"); ?></a></b>
    	        </td>
    	    </tr>
开发者ID:nistormihai,项目名称:Newscoop,代码行数:31,代码来源:duplicate_complete.php


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