本文整理汇总了PHP中get_sympal_breadcrumbs函数的典型用法代码示例。如果您正苦于以下问题:PHP get_sympal_breadcrumbs函数的具体用法?PHP get_sympal_breadcrumbs怎么用?PHP get_sympal_breadcrumbs使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_sympal_breadcrumbs函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: get_sympal_breadcrumbs
<?php
if ($form->isNew()) {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Sites' => '@sympal_sites', 'Create New Site' => null));
} else {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Sites' => '@sympal_sites', sprintf('Editing Site "%s"', $form->getObject()->getTitle()) => null));
}
开发者ID:slemoigne,项目名称:sympal,代码行数:11,代码来源:_form_header.php
示例2: __
<h1><?php
echo __('Sympal plugin manager');
?>
</h1>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Plugin Manager' => '@sympal_plugin_manager', $sf_sympal_plugin->getTitle() => null));
?>
<div id="sympal_plugin_manager">
<div id="view">
<div id="header">
<?php
echo image_tag($sf_sympal_plugin->getImage(), 'align=right');
?>
<h2><?php
echo $sf_sympal_plugin->getTitle();
?>
</h2>
<?php
if ($description = $sf_sympal_plugin->getDescription()) {
?>
<div id="description">
<?php
use_helper('Text');
?>
<p><?php
echo truncate_text(strip_tags($description), 200);
?>
开发者ID:sympal,项目名称:sympal,代码行数:31,代码来源:viewSuccess.php
示例3: link_to
?>
.
</div>
<?php
echo sfSympalMarkdownRenderer::convertToHtml("\n\nYour installation of `sfSympalPlugin` can be found here:\n\n " . ($rootDir = $sf_context->getConfiguration()->getPluginConfiguration('sfSympalPlugin')->getRootDir()) . "\n\nTo begin the upgrade, we need to first change to the directory where `sfSympalPlugin` is located:\n\n \$ " . $commands['cd'] . "\n\nBefore upgrading to {$latestVersion} lets move the current version to a backup location:\n\n \$ " . $commands['backup'] . "\n\nNow checkout the code for {$latestVersion}:\n\n \$ " . $commands['download'] . "\n\nOnce we've done that we need to clear our cache and run the `sympal:upgrade` task:\n\n \$ cd " . sfConfig::get('sf_root_dir') . "\n \$ php symfony cc\n \$ php symfony sympal:upgrade\n\nThe above executed tasks can be automated by Sympal for you if you wish. We show you\nthe individual steps to help you get a better understanding of what Sympal will be\ndoing to upgrade your version of Sympal!\n\nTo check if a new version exists on the web use the `--download-new` option. It will\nupgrade the Sympal source code to the latest version then run any new available\nupgrade tasks.\n\n \$ php symfony sympal:upgrade --download-new\n\n");
?>
<p>
You can also run the upgrade process directly from this page! Click <?php
echo link_to('here', '@sympal_upgrade');
?>
to begin
the upgrade process!
</p>
<?php
} else {
?>
<h1>No Updates Found</h1>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Check for Updates' => null));
?>
<p>Your Sympal installation is already up to date at <?php
echo $currentVersion;
?>
!</p>
<?php
}
开发者ID:slemoigne,项目名称:sympal,代码行数:31,代码来源:checkSuccess.php
示例4: get_sympal_breadcrumbs
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Site Content' => '@sympal_content_types_index', 'Slots' => null));
开发者ID:sympal,项目名称:sympal,代码行数:3,代码来源:_list_header.php
示例5: get_sympal_breadcrumbs
<?php
if ($form->isNew()) {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Groups' => '@sympal_groups', 'Create New Group' => null));
} else {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Groups' => '@sympal_groups', sprintf(__('Editing Group "%s"'), $form->getObject()->getName()) => null));
}
开发者ID:sympal,项目名称:sympal,代码行数:11,代码来源:_form_header.php
示例6: auto_discovery_link_tag
<?php
echo auto_discovery_link_tag('rss', $content->getRoute() . '?sf_format=rss');
?>
<?php
echo get_sympal_breadcrumbs($menuItem);
?>
<h2><?php
echo get_sympal_content_slot($content, 'title');
?>
</h2>
<?php
echo get_sympal_content_slot($content, 'header', 'Markdown');
?>
<?php
$pagerNav = $dataGrid->getPagerNavigation($content->getRoute());
?>
<?php
echo $dataGrid->getPagerHeader();
?>
<?php
echo $pagerNav;
?>
<?php
开发者ID:slemoigne,项目名称:sympal,代码行数:31,代码来源:_view.php
示例7: use_stylesheet
<?php
use_stylesheet('/sfSympalBlogPlugin/css/blog.css', 'first');
echo get_sympal_breadcrumbs($menuItem, $breadcrumbsTitle);
$sf_response->setTitle($title);
?>
<div id="sympal_blog">
<div class="list">
<h2><?php
echo $title;
?>
</h2>
<?php
echo get_partial('sympal_blog/blog_list', array('pager' => $pager, 'menuItem' => $menuItem, 'content' => $content));
?>
</div>
</div>
<?php
slot('sympal_right_sidebar');
?>
<?php
echo get_component('sympal_blog', 'sidebar');
end_slot();
开发者ID:slemoigne,项目名称:sympal,代码行数:26,代码来源:listSuccess.php
示例8: sympal_use_stylesheet
<?php
sympal_use_stylesheet('/sfSympalAssetsPlugin/css/assets.css');
sympal_use_javascript('/sfSympalAssetsPlugin/js/assets.js');
?>
<?php
use_helper('I18N');
?>
<h1><?php
echo __('Sympal Assets Manager');
?>
</h1>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Assets' => '@sympal_Assets'));
?>
<p><?php
echo __('Manage your Sympal project assets below! An asset in Sympal is
any type of file from a PDF document to an image or a video. Upload new assets, create
directories to store your assets, rename and move your assets and embed or link
to them in your content.');
?>
</p>
<div id="sympal_assets_forms">
<?php
echo get_partial('sympal_assets/forms', array('uploadForm' => $uploadForm, 'directoryForm' => $directoryForm));
?>
</div>
开发者ID:sympal,项目名称:sympal,代码行数:31,代码来源:indexSuccess.php
示例9: get_sympal_breadcrumbs
<?php
if ($form->isNew()) {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Menus' => '@sympal_menu_items', 'Create New Menu Item' => null));
} else {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Menus' => '@sympal_menu_items', __('Editing Menu Item') . ' "' . $form->getObject()->getLabel() . '"' => null));
}
开发者ID:sympal,项目名称:sympal,代码行数:11,代码来源:_form_header.php
示例10: get_sympal_breadcrumbs
<?php
if ($form->isNew()) {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Menus' => '@sympal_menu_items', 'Create New Menu Item' => null));
} else {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Menus' => '@sympal_menu_items', sprintf('Editing Menu Item "%s"', $form->getObject()->getLabel()) => null));
}
开发者ID:slemoigne,项目名称:sympal,代码行数:11,代码来源:_form_header.php
示例11: get_sympal_breadcrumbs
<?php
if ($form->isNew()) {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Permissions' => '@sympal_permissions', 'Create New Permission' => null));
} else {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Permissions' => '@sympal_permissions', sprintf('Editing Permission "%s"', $form->getObject()->getName()) => null));
}
开发者ID:slemoigne,项目名称:sympal,代码行数:11,代码来源:_form_header.php
示例12: __
<h1><?php
echo __('Sympal Server Check');
?>
</h1>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Global Setup' => '@sympal_sites', 'Check Server' => '@sympal_server_check'));
?>
<div id="sympal_server_check">
<?php
echo $renderer->render();
?>
</div>
<iframe src="<?php
echo url_for('@sympal_phpinfo');
?>
" id="phpinfo_frame" width="100%" height="1000" style="border: 0;"></iframe>
开发者ID:sympal,项目名称:sympal,代码行数:19,代码来源:check_serverSuccess.php
示例13: get_sympal_breadcrumbs
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Content Types' => '@sympal_content_types'));
?>
<p><?php
echo __('Manage the available content types in your Sympal project. Create
entirely new content types or add a custom extension of an existing content type
already available in Sympal.');
?>
</p>
开发者ID:sympal,项目名称:sympal,代码行数:11,代码来源:_list_header.php
示例14: __
<div id="sf_admin_container">
<h1><?php
echo __('System Settings');
?>
</h1>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Global Setup' => '@sympal_sites', 'System Settings' => '@sympal_config'));
?>
<p><?php
echo __('Manage the configuration of your Sympal project from the
easy to use web form below. The different functionalities added by Sympal
plugins may add settings here for you to control.');
?>
</p>
<div id="sf_admin_configuration">
<div class="sf_admin_form">
<?php
$groups = $form->getGroups();
?>
<?php
echo $form->renderFormTag(url_for('@sympal_config_save'));
?>
<?php
echo $form->renderHiddenFields();
?>
<?php
foreach ($groups as $group) {
开发者ID:slemoigne,项目名称:sympal,代码行数:31,代码来源:indexSuccess.php
示例15: use_helper
<?php
use_helper('I18N', 'Date');
include_partial('sympal_content/assets');
?>
<div id="sf_admin_container">
<h1><?php
echo $title = __('Manage ' . $contentType->getLabel() . ' Content', array(), 'messages');
$sf_response->setTitle($title);
?>
</h1>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Site Content' => '@sympal_content_types_index', $contentType->getLabel() => '@sympal_content_list_type?type=' . $contentType->getSlug()));
?>
<div id="sf_admin_header">
<?php
include_partial('sympal_content/list_header', array('pager' => $pager));
?>
</div>
<div id="sf_admin_bar">
<?php
include_partial('sympal_content/filters', array('form' => $filters, 'configuration' => $configuration));
?>
</div>
<div id="sf_admin_content">
<form action="<?php
开发者ID:sympal,项目名称:sympal,代码行数:31,代码来源:indexSuccess.php
示例16: get_sympal_breadcrumbs
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Plugin Manager' => null));
?>
<p><?php
echo __('Manage the Sympal plugins in this project below! You can easily
download and install new plugins found on the web.');
?>
</p>
开发者ID:sympal,项目名称:sympal,代码行数:10,代码来源:_list_header.php
示例17: get_sympal_breadcrumbs
<?php
if ($form->isNew()) {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Users' => '@sympal_users', 'Create New User' => null));
} else {
?>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Users' => '@sympal_users', sprintf('Editing User "%s"', $form->getObject()->getUsername()) => null));
}
开发者ID:slemoigne,项目名称:sympal,代码行数:11,代码来源:_form_header.php
示例18: get_sympal_breadcrumbs
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Permissions' => '@sympal_permissions'));
开发者ID:sympal,项目名称:sympal,代码行数:3,代码来源:_list_header.php
示例19: get_sympal_breadcrumbs
<div id="sf_admin_container">
<h1>Editing "<?php
echo $sf_sympal_content;
?>
" Slots</h1>
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Site Content' => '@sympal_content_types_index', $sf_sympal_content->getType()->getLabel() => '@sympal_content_list_type?type=' . $sf_sympal_content->getType()->getSlug(), 'Editing ' . $sf_sympal_content->getTitle() => $sf_sympal_content->getEditRoute(), 'Editing Slots' => null));
?>
<div id="sf_admin_content">
<div class="sf_admin_form">
<?php
foreach ($sf_sympal_content->getSlots() as $slot) {
?>
<?php
if (!$slot->is_column) {
?>
<fieldset id="sf_fieldset_<?php
echo $slot->getName();
?>
">
<h2 class="sf_fieldset_h2"><?php
echo $slot;
?>
</h2>
<div class="sf_admin_form_row">
<?php
echo get_sympal_content_slot_editor($sf_sympal_content, $slot);
?>
</div>
开发者ID:slemoigne,项目名称:sympal,代码行数:31,代码来源:edit_slotsSuccess.php
示例20: get_sympal_breadcrumbs
<?php
echo get_sympal_breadcrumbs(array('Dashboard' => '@sympal_dashboard', 'Menus' => '@sympal_menu_items'));
?>
<p><?php
echo __('Manage your Sites menus below! Edit the menu items or adjust the
order of your sites menu hierarchy via a nice drag and drop interface by clicking
the button above.');
?>
</p>
开发者ID:sympal,项目名称:sympal,代码行数:11,代码来源:_list_header.php
注:本文中的get_sympal_breadcrumbs函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论