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


PHP TextHelper::_方法代码示例

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


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

示例1:

<div class="container-fluid">
    <?php 
echo $this->menu['quick_menu']->render();
?>
    <div class="row-fluid">
        <div class="span12" id="content">
            <div id="system-message-container"></div>
            <div class="row-fluid">
                <?php 
echo $this->menu['menu']->render();
?>
                <div class="span9">
                    <form action="index.php?view=sources" method="post" name="adminForm" id="adminForm" class="form-validate"  >
                        <div class="row-fluid">
                            <legend><h3><?php 
echo TextHelper::_('COBALT_EDITING_SOURCE');
?>
</h3></legend>
                            <label><b><?php 
echo JText::_('COBALT_NAME');
?>
</b></label>
                            <input type="text" class="form-control" name="name" value="<?php 
echo $this->source['name'];
?>
" />
                            <label><b><?php 
echo JText::_('COBALT_HEADER_SOURCE_COST');
?>
</b></label>
                            <input type="text" class="form-control" name="cost" value="<?php 
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:edit.php

示例2:

    <div class="row-fluid">
        <div class="span12" id="content">
            <div id="system-message-container"></div>
            <div class="row-fluid">
                <?php 
echo $this->menu['menu']->render();
?>
                <div class="span9">
                    <form action="index.php?view=categories" method="post" name="adminForm" id="adminForm" class="form-validate" >
                        <div class="row-fluid">
                            <legend><h3><?php 
echo TextHelper::_('COBALT_EDITING_CATEGORY');
?>
</h3></legend>
                            <label><b><?php 
echo TextHelper::_('COBALT_NAME');
?>
</b></label>
                            <input type="text" class="form-control" name="name" value="<?php 
echo $this->category['name'];
?>
" />
                            <div>
                                <?php 
if ($this->category['id']) {
    ?>
                                    <input type="hidden" name="id" value="<?php 
    echo $this->category['id'];
    ?>
" />
                                <?php 
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:edit.php

示例3: ucwords

</span>
                </a>
            </li>
            <li data-theme="c">
                <a href="<?php 
echo RouteHelper::_('index.php?view=companies');
?>
">
                    <img class='ui-li-icon' src='<?php 
echo JURI::root();
?>
//media/images/mobile/companies.png' />
                    <?php 
echo ucwords(TextHelper::_('COBALT_COMPANIES'));
?>
                    <span class='ui-li-count'><?php 
echo $this->numCompanies;
?>
</span>
                </a>
            </li>
        </ul>
        <div style="float:right;font-size:8px;"><a href="javascript:void(0);" onclick="window.location='<?php 
echo RouteHelper::_('index.php?view=dashboard&mobile=no');
?>
';"><?php 
echo TextHelper::_('COBALT_TOGGLE_DESKTOP_VIEW');
?>
</a></div>
    </div>
开发者ID:houzhenggang,项目名称:cobalt,代码行数:30,代码来源:default.mobile.php

示例4:

    ?>
">
        <td><a href="<?php 
    echo RouteHelper::_('index.php?view=reports&layout=custom_report&id=' . $report['id']);
    ?>
"><?php 
    echo $report['name'];
    ?>
</a></td>
        <td><?php 
    echo DateHelper::formatDate($report['modified']);
    ?>
</td>
        <td><?php 
    echo DateHelper::formatDate($report['created']);
    ?>
</td>
        <td>
            <a href="<?php 
    echo RouteHelper::_('index.php?view=reports&layout=edit_custom_report&id=' . $report['id']);
    ?>
"><?php 
    echo TextHelper::_('COBALT_EDIT_BUTTON');
    ?>
</a>
            |
            <a href="javascript:void(0);" class="delete delete_custom_report"><i class="glyphicon glyphicon-trash"></i></a>
        </td>
    </tr>
<?php 
}
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:custom_reports_filter.php

示例5: foreach

                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <?php 
if ($app->input->get('view') != "print") {
    ?>
                    <td>&nbsp;</td>
                <?php 
}
?>
                <td><?php 
echo TextHelper::_('COBALT_SALES_PIPELINE');
?>
</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>
                    <?php 
echo ConfigHelper::getCurrency();
?>
                    <span id="total_amount">
                    <?php 
if (count($this->reports) > 0) {
    $total = 0;
    foreach ($this->reports as $key => $report) {
        $total += $report->amount;
    }
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:sales_pipeline_header.php

示例6:

        <div class="col-sm-12" id="content">
            <div id="system-message-container"></div>
            <div class="row-fluid">
                <?php 
echo $this->menu['menu']->render();
?>
                <div class="col-md-9">
                    <form action="index.php?view=templates" method="post" name="adminForm" id="adminForm" class="form-validate"  >
                        <div class="row-fluid">
                            <fieldset class="adminform">
                                <div class="page-header">
                                    <?php 
echo $this->toolbar->render();
?>
                                    <h3><?php 
echo TextHelper::_("COBALT_EDITING_WORKFLOW");
?>
</h3>
                                </div>
                                <div class="form-group">
                                    <label><b><?php 
echo JText::_('COBALT_NAME');
?>
</b></label>
                                    <input type="text" class="form-control" name="name" rel="tooltip" data-original-title="<?php 
echo JText::_('COBALT_NAME_YOUR_WORKFLOW');
?>
" value="<?php 
echo $this->template['name'];
?>
" />
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:edit.php

示例7: ucwords

echo TextHelper::_('COBALT_PRINT');
?>
</a>
            <?php 
if (UsersHelper::canExport()) {
    ?>
                <a class="btn" href="javascript:void(0)" onclick="exportCsv()"><?php 
    echo TextHelper::_('COBALT_EXPORT_CSV');
    ?>
</a>
            <?php 
}
?>
    </div>
    <h1><?php 
echo ucwords(TextHelper::_('COBALT_DEAL_SOURCE_REPORT'));
?>
</h1>
</div>

<?php 
echo $this->menu;
?>
<script type="text/javascript">
    // add to view.html.php
    order_url = "<?php 
echo 'index.php?view=reports&layout=source_report_filter&tmpl=component&format=raw';
?>
";
    order_dir = "<?php 
echo $this->state->get('Deal.source_report_filter_order_Dir');
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:source_report.php

示例8:

    $deal = $person['deals'][$i];
    $k = $i % 2;
    echo '<li><a href="' . RouteHelper::_('index.php?view=deals&layout=deal&id=' . $deal->id) . '">';
    echo '<span class="ui-li-count">' . $deal->amount . '</span>';
    echo $deal->name;
    echo '</a></li>';
}
?>
            </ul>
    </div>

    <div data-role="collapsible">
        <h3><?php 
echo TextHelper::_('COBALT_ADD_NOTE');
?>
</h3>
        <?php 
echo $this->add_note->render();
?>
    </div>
        <div data-role="collapsible" data-collapsed="false">
        <h3><?php 
echo TextHelper::_('COBALT_CREATE_TASK');
?>
</h3>
            <?php 
echo $this->add_task->render();
?>
        </div>
</div>
开发者ID:houzhenggang,项目名称:cobalt,代码行数:30,代码来源:person.mobile.php

示例9:

    <div class="row-fluid">
        <div class="span12" id="content">
            <div id="system-message-container"></div>
            <div class="row-fluid">
                <?php 
echo $this->menu['menu']->render();
?>
                <div class="span9">
                    <form action="index.php?view=dealcustom" method="post" name="adminForm" id="adminForm" class="form-validate"  >
                        <div class="row-fluid">
                            <div class="page-header">
                                <?php 
echo $this->toolbar->render();
?>
                                <h3><?php 
echo TextHelper::_('COBALT_EDITING_CUSTOM_FIELD');
?>
</h3>
                            </div>
                            <label><?php 
echo JText::_('COBALT_NAME');
?>
</label>
                            <input type="text" class="form-control required" name="name" value="<?php 
echo $this->custom['name'];
?>
" />
                            <label><b>Type</b></label>
                            <select class="form-control required" name="type">
                                <option value="">- Select Custom Field Type -</option>
                                <?php 
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:edit.php

示例10: Copyright

# Cobalt
# ------------------------------------------------------------------------
# @author Cobalt
# @copyright Copyright (C) 2012 cobaltcrm.org All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website: http://www.cobaltcrm.org
-------------------------------------------------------------------------*/
// no direct access
defined('_CEXEC') or die('Restricted access');
$custom = DropdownHelper::generateCustom($this->item_type, $this->item['id']);
$count = 0;
if (count($custom) > 0) {
    ?>

    <h2><?php 
    echo TextHelper::_('COBALT_EDIT_CUSTOM');
    ?>
</h2>

            <div class="columncontainer">
                <div class="twocolumn">
                    <table class="com_cobalt_table">

    <?php 
    foreach ($custom as $field => $value) {
        $count++;
        $k = $count % 3;
        switch ($value['type']) {
            case "forecast":
                $custom_field_filter = array_key_exists('forecast', $this->item) ? $this->item['forecast'] : 0;
                break;
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:custom_fields.php

示例11:

                        <input type="text" name="note_autocomplete_deal" placeholder="<?php 
    echo TextHelper::_('COBALT_BEGIN_TYPING_TO_SEARCH_DEAL');
    ?>
" class="form-control"  />
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <div class="actions"><input class="btn btn-success" type="button" value="<?php 
    echo TextHelper::_('COBALT_SAVE');
    ?>
" onclick="Cobalt.sumbitModalForm(this);"/> <?php 
    echo TextHelper::_('COBALT_OR');
    ?>
 <a href="javascript:void(0);" data-dismiss="modal" aria-hidden="true"><?php 
    echo TextHelper::_('COBALT_CANCEL');
    ?>
</a></div>
            </div>
        </div>
    </div>
</div>
<?php 
}
?>
<div id="note_entries">
</div>
<input type="hidden" name="notes_start" id="notes_start" value="0">
<input type="hidden" name="notes_limit" id="notes_limit" value="4">
<script>
    Notes.init();
开发者ID:houzhenggang,项目名称:cobalt,代码行数:31,代码来源:default.php

示例12: foreach

            </div>
            <div class="cobaltRow">
                <div class="cobaltField"><?php 
echo TextHelper::_('COBALT_PERSON_SOURCE');
?>
</div>
                <div class="cobaltValue">
                    <select data-native-menu="false" data-overlay-theme="a" data-theme="c" name="source_id" tabindex="-1">
                        <?php 
$options = DropdownHelper::generateDropdown('source', '', '', true);
if (count($options) > 0) {
    foreach ($options as $option) {
        echo "<option value='" . $option['id'] . "''>" . $option['name'] . "</option>";
    }
}
?>
                    </select>
                </div>
            </div>
        <?php 
if ($app->input->get('lead')) {
    echo '<input type="hidden" name="type" value="lead" />';
}
?>
        <input type="submit" name="submit"  value="<?php 
echo TextHelper::_('COBALT_SUBMIT');
?>
" />
    </form>
</div>
开发者ID:houzhenggang,项目名称:cobalt,代码行数:30,代码来源:edit.mobile.php

示例13: ucwords

    echo '<td>' . $person['phone'] . '</td>';
    echo '<td>' . $person['owner_first_name'] . ' ' . $person['owner_last_name'] . '</td>';
    echo '<td>' . ucwords($person['type']) . '</td>';
    echo '<td>' . DateHelper::formatDate($person['modified']) . '</td>';
    echo '</tr>';
}
?>
        </table>

    </div>

    <h2><?php 
echo TextHelper::_('COBALT_EDIT_CONVERSATIONS');
?>
</h2>

    <div id="conversation_entries">
    <?php 
$c = count($deal->conversations);
for ($i = 0; $i < $c; $i++) {
    $convo = $deal->conversations[$i];
    echo '<div class="conversation">';
    echo '<div class="header"><b>' . DateHelper::formatDate($convo['created']) . '</b></div>';
    echo '<div class="convo_info"><b>' . TextHelper::_('COBALT_USER') . '</b> ' . TextHelper::_('COBALT_WROTE') . ':</div>';
    echo '<div class="convo">' . $convo['conversation'] . '</div>';
    echo '</div>';
}
?>
</div>
</div>
开发者ID:houzhenggang,项目名称:cobalt,代码行数:30,代码来源:deal.php

示例14:

            ?>
</label></li>
                                            <?php 
            $i++;
        }
        ?>
                                        </ul>
                                        </div>
                                    </div>
                                <?php 
    }
}
?>
                            </div>
                            <div class="modal-footer">
                                <a href="#" class="btn btn-primary" data-dismiss="modal"><?php 
echo TextHelper::_('COBALT_CLOSE');
?>
</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <?php 
echo $this->menu['quick_menu']->render();
?>
    </div>
</div>
开发者ID:houzhenggang,项目名称:cobalt,代码行数:30,代码来源:edit.php

示例15: ucwords

        ?>
                          <td><?php 
        echo ucwords(TextHelper::_('COBALT_THE_COMPANY'));
        ?>
</td>
                      <?php 
    }
    ?>
                      <td><?php 
    echo date("n/j/y", strtotime($goal['end_date']));
    ?>
</td>
                      <td><a href="javascript:void(0);" onclick="Goal.delete(this)" class="delete_goal"><i class="glyphicon glyphicon-trash"></i><?php 
    echo TextHelper::_('COBALT_DELETE');
    ?>
</a></td>
                  </tr>
        <?php 
}
?>
    </tbody>
</table>
</div>
<div class="modal-footer">
    <div class="actions"><a aria-hidden="true" data-dismiss="modal" href="javascript:void(0);"><?php 
echo TextHelper::_('COBALT_CANCEL_BUTTON');
?>
</a></div>
</div>

开发者ID:houzhenggang,项目名称:cobalt,代码行数:29,代码来源:delete.php


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