Now I figured it out. My hook_theme:
function cssswitch_theme() {
return array(
'cssswitch_display' => array(
'arguments' => array('node'),
),
'cssswitch_node_form' => array(
'arguments' => array('form' => NULL),
'template' => 'cssswitch-node-form.tpl.php',
),
);
}
/garland/cssswitch - node -form.tpl.php
, :
<style>
#edit-hour-start-wrapper, #edit-minute-start-wrapper, #edit-ampm-start-wrapper, #edit-hour-end-wrapper, #edit-minute-end-wrapper, #edit-ampm-end-wrapper {
float:left;
margin-right:25px;
}
</style>
<div id="regform1">
<?php print drupal_render($form['title']); ?>
<?php print drupal_render($form['cssfilename']); ?>
<fieldset class="group-account-basics collapsible">
<legend>Time Start</legend>
<?php print drupal_render($form['hour_start']); ?>
<?php print drupal_render($form['minute_start']); ?>
<?php print drupal_render($form['ampm_start']); ?>
</fieldset>
<fieldset class="group-account-basics collapsible"><legend>Time end</legend>
<?php print drupal_render($form['hour_end']); ?>
<?php print drupal_render($form['minute_end']); ?>
<?php print drupal_render($form['ampm_end']); ?>
</fieldset>
</div>
<?php print drupal_render($form['options']); ?>
<?php print drupal_render($form['author']); ?>
<?php print drupal_render($form['revision_information']); ?>
<?php print drupal_render($form['path']); ?>
<?php print drupal_render($form['attachments']); ?>
<?php print drupal_render($form['comment_settings']); ?>
<?php print drupal_render($form); ?>