page-manager-edit-page.tpl.php in Chaos Tool Suite (ctools) 6
Same filename and directory in other branches
Template for the page manager page editor.
Variables available: -
For javascript purposes the id must not change.
2 theme calls to page-manager-edit-page.tpl.php
- page_manager_edit_page in page_manager/
page_manager.admin.inc - Render the edit page for a a page, custom or system.
- page_manager_edit_page_operation in page_manager/
page_manager.admin.inc - Entry point to edit a single operation for a page.
File
page_manager/theme/page-manager-edit-page.tpl.phpView source
<?php
/**
* @file
* Template for the page manager page editor.
*
* Variables available:
* -
*
* For javascript purposes the id must not change.
*/
?>
<div id="page-manager-edit">
<?php
print $locked;
?>
<div class="page-manager-wrapper">
<?php
if (isset($operations['primary'])) {
?>
<div class="primary-actions clear-block actions">
<?php
print $operations['primary'];
?>
</div>
<?php
}
?>
<div class="page-manager-tabs clear-block">
<div class="page-manager-edit-operations">
<div class="inside">
<?php
print $operations['nav'];
?>
</div>
</div>
<div class="page-manager-ajax-pad">
<div class="inside">
<div class="content-header">
<div class="content-title">
<?php
print $changed;
?>
<?php
print $content['title'];
?>
</div>
<?php
if (isset($operations['secondary'])) {
?>
<div class="secondary-actions clear-block actions">
<?php
print $operations['secondary'];
?>
</div>
<?php
}
?>
</div>
<div class="content-content">
<?php
if (!empty($content['description'])) {
?>
<div class="description">
<?php
print $content['description'];
?>
</div>
<?php
}
?>
<?php
print $content['content'];
?>
</div>
</div>
</div>
</div>
</div>
<?php
print $save;
?>
</div>