oauth_common_auth_level.tpl.php in OAuth 1.0 6.3
File
oauth_common_auth_level.tpl.php
View source
<?php
$element['left'] = array(
'#prefix' => '<div class="oauth-common-left-panel">',
'#suffix' => '</div>',
);
$element['right'] = array(
'#prefix' => '<div class="oauth-common-right-panel">',
'#suffix' => '</div>',
);
$children = element_children($element);
foreach ($children as $key) {
if (isset($element[$key]['#oauth_common_panel'])) {
switch ($element[$key]['#oauth_common_panel']) {
case 'left':
$element['left'][$key] = $element[$key];
unset($element[$key]);
break;
case 'right':
$element['right'][$key] = $element[$key];
unset($element[$key]);
break;
}
}
}
?>
<div class="oauth-common-auth-level">
<?php
print drupal_render($element);
?>
<div class="clear"></div>
</div>