-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.tpl.php
24 lines (22 loc) · 990 Bytes
/
default.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div id="portlet-admin-containers">
<?php foreach ($default as $column => $elements) {
echo '<fieldset id="portlet-admin-'.check_plain($column).'" class="portlet-admin-js portlet-container-'.$column.'">';
echo '<legend>'.l(check_plain($column), 'portlet/container/edit/'.check_plain($column)).'</legend>';
foreach ($elements as $pid) {
$portlet = $portlets[$pid];
echo '<span id="portlet-default-'.(int)$portlet->pid.'" class="portlet-admin-thumb portlet-admin-'.(int)$pid.'">'.check_plain($portlet->title).'</span>';
// Remove portlet which is in container
unset($portlets[$pid]);
}
echo '</fieldset>';
} ?>
</div>
<div class="portlet-admin-js" id="portlet-tip">
<?php foreach ($portlets as $portlet) {
if ($portlet->parent != 0) {
echo '<span id="portlet-default-'.(int)$portlet->pid.'" class="portlet-admin-thumb portlet-admin-'.(int)$portlet->pid.'">'.check_plain($portlet->title).'</span>';
}
}
?>
</div>
<?php echo drupal_get_form('portlet_container', NULL); ?>