本文整理汇总了PHP中rounded_corners_tabs_top函数的典型用法代码示例。如果您正苦于以下问题:PHP rounded_corners_tabs_top函数的具体用法?PHP rounded_corners_tabs_top怎么用?PHP rounded_corners_tabs_top使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了rounded_corners_tabs_top函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: rounded_corners
$out_ip .= '<br /><strong>Senaste användarnamn:</strong> ' . $user_ips['lastusername'] . "\n";
$out_ip .= '<br /><a href="/admin/ip_ban_admin.php?handy_link_auto_ip=' . $user_ips['lastip'] . '">Till IP-ban via senaste ip</a>' . "\n";
$out_ip .= '<br /><a href="/admin/ip_ban_admin.php?handy_link_auto_ip=' . $user_ips['regip'] . '">Till IP-ban via regip</a>' . "\n";
}
echo rounded_corners($out_ip, $void, true);
}
$admincontrol_out .= is_privilegied('remove_user') ? '<a href="/remove_user.php?userid=' . $params['user_id'] . '" onclick="return confirm(\'Ta bort användaren?\');">Ta bort</a> | ' . "\n" : '';
$admincontrol_out .= is_privilegied('warnings_admin') ? '<a href="/admin/warnings.php?username=' . $data['username'] . '">Varna!</a> | ' . "\n" : '';
$admincontrol_out .= is_privilegied('warnings_admin') ? '<a href="/admin/warnings.php?action=viewhistory&user_id=' . $params['user_id'] . '">Varningshistorik</a> | ' . "\n" : '';
$admincontrol_out .= is_privilegied('user_management_admin') ? '<a href="/admin/user_management.php?username=' . $data['username'] . '">User management</a> |' . "\n" : '';
$admincontrol_out .= is_privilegied('avatar_admin') ? '<a href="/avatar.php?id=' . $params['user_id'] . '&refuse&admin" onclick="return confirm(\'Är du säker på att du vill ta bort denna bild?\');" />Ta bort avatar</a> | ' . "\n" : '';
// $admincontrol_out .= is_privilegied('edit_presentation') ? '<a href="/installningar/profilesettings.php?admin_change=' . $params['user_id'] . '">Ändra presentation</a> | ' . "\n" : '';
$admincontrol_out .= is_privilegied('use_ghosting_tools') ? '<a href="/admin/ghost.php?ghost=' . $data['username'] . '">Ghosta</a> | ' . "\n" : '';
$admincontrol_out .= is_privilegied('logout_user') ? '<a href="/admin/logout_user.php?action=logout&username=' . $data['username'] . '">Logga ut användare</a>' . "\n" : '';
if (!empty($admincontrol_out)) {
$output .= rounded_corners_tabs_top();
echo $admincontrol_out;
$output .= rounded_corners_tabs_bottom();
}
if (is_privilegied('user_management_admin')) {
//$out = '<h2 style="margin: 0px;">Varningar</h2>';
//$query = 'SELECT
$out .= '<h2 style="margin-top: 0px; margin-bottom: 0px;">Abuse log</h2>';
$query = 'SELECT * FROM user_abuse WHERE user = "' . $params['user_id'] . '" ORDER BY id DESC';
$result = mysql_query($query) or report_sql_error($query, __FILE__, __LINE__);
$out .= '<ul style="margin: 0px;">' . "\n";
while ($data = mysql_fetch_assoc($result)) {
$out .= '<li>' . "\n";
$out .= date('Y-m-d H:i', $data['timestamp']) . ' <strong>' . $data['admin'] . '</strong> ' . $data['freetext'];
$out .= '</li>' . "\n";
}
示例2: rounded_corners_tabs_bottom
$out .= '<input name="contact2_handle" type="text" class="textbox" size="50" value="' . $contact2['handle'] . '"><br/>';
$out .= '<br /><br />';
$out .= '<strong>Förnamn</strong><br />' . "\n";
$out .= '<input type="text" name="firstname" class="textbox" value="' . $_SESSION['traffa']['firstname'] . '" /><br /><br />' . "\n";
$out .= '<strong>P12-sköld i gästboken</strong><br />' . "\n";
$out .= 'Vill du ha en "sköld" i din gästbok som visar på att du inte är intresserad av att ge bort din msn eller cama med okända? <input type="checkbox" name="gb_anti_p12" value="1" ' . ($_SESSION['preferences']['gb_anti_p12'] == 'on' ? 'checked="checked" ' : '') . ' />' . "\n";
$out .= '<br />';
$out .= '<strong>RSS-flöde i gästboken</strong><br />' . "\n";
$out .= 'Ska andra kunna prenumerera på din gästbok via RSS-flöde? <input type="radio" name="gbrss" value="1" ' . ($_SESSION['userinfo']['gbrss'] ? 'checked="checked" ' : '') . ' /> Ja <input type="radio" name="gbrss" value="0" ' . (!$_SESSION['userinfo']['gbrss'] ? 'checked="checked" ' : '') . '/> Nej' . "\n";
$out .= '<br />';
$out .= '<br />';
$out .= '<input type="submit" value="Spara frivillig information »" class="button_150" id="optional_info_submit" />';
$out .= '</form>' . "\n";
$out .= rounded_corners_tabs_bottom($void, true);
/* Lösenordsbyte */
$out .= '<a name="change_password"></a>';
$out .= rounded_corners_tabs_top($void, true);
$out .= '<h2 style="margin-top: 0px;">Byt lösenord</h2>' . "\n";
$out .= '<form action="' . $_SERVER['PHP_SELF'] . '?action=perform_changes&type=password" method="post">' . "\n";
$out .= '<table><tr style="font-weight: bold;"><td>Nuvarande lösenord</td><td>Nytt lösenord</td><td>Upprepa nytt lösenord</td></tr>' . "\n";
$out .= '<tr>' . "\n";
$out .= '<td><input type="password" name="password_old" class="textbox" /></td>' . "\n";
$out .= '<td><input type="password" name="password_new" class="textbox" /></td>' . "\n";
$out .= '<td><input type="password" name="password_verify" class="textbox" /></td>' . "\n";
$out .= '</tr></table><br />' . "\n";
$out .= '<input type="submit" class="button_80" value="Byt lösenord »" />' . "\n";
$out .= '</form>' . "\n";
$out .= rounded_corners_tabs_bottom($void, true);
ui_top($ui_options);
echo $out;
ui_bottom();
示例3: rounded_corners_tabs_bottom
}
}
$out .= '<input type="submit" value="Spara" />' . "\n";
$out .= '</form>' . "\n";
$out .= '</div>' . "\n";
}
$out .= '<div id="flags_customize_message" style="color: red; font-weight: bold;"></div>' . "\n";
$out .= '</div>' . "\n";
echo $out;
$output .= rounded_corners_tabs_bottom();
} else {
$rounded_corners_tabs_options['tabs'][] = array('href' => $paths_prefix . '/installningar/profilesettings.php', 'label' => 'Ändra presentationen', 'current' => TRUE);
$rounded_corners_tabs_options['tabs'][] = array('href' => $paths_prefix . '?action=theme_select', 'label' => 'Byt tema');
$rounded_corners_tabs_options['tabs'][] = array('href' => $paths_prefix . '?action=flags_select', 'label' => 'Välj flaggor');
$rounded_corners_tabs_options['tabs'][] = array('href' => $paths_prefix . '/traffa/profile.php', 'label' => 'Till min presentation');
$output .= rounded_corners_tabs_top($rounded_corners_tabs_options);
$profile = profile_fetch(array('user_id' => $user_id));
echo profile_presentation_change_form($profile);
$output .= rounded_corners_tabs_bottom();
}
//$rounded_corners_tabs_options['tabs'][] = array('href' => $paths_prefix . '?show=boys', 'label' => 'Förhandsgranska');
//$output .= rounded_corners_tabs_top($rounded_corners_tabs_options);
//$profile = profile_fetch( array('user_id' => $user_id) );
//echo profile_presentation_change_form($profile);
//echo "test";
//$output .= rounded_corners_tabs_bottom();
} else {
$output .= 'Men tjockis, du måste vara inloggad för att se den här sidan!';
}
echo $output;
ui_bottom();
示例4: mysql_query
$result = mysql_query($query) or report_sql_error($query, __FILE__, __LINE__);
while ($report = mysql_fetch_assoc($result)) {
$out .= '<tr' . ($report['id'] & 1 ? ' class="gb_autoreport_post_odd"' : '') . ' id="gb_autoreport_post_message_' . $report['id'] . '">' . "\n";
$out .= '<th>Inlägg:</th>' . "\n";
$out .= '<td colspan="6" class="gb_autoreport_message">' . nl2br($report['message']) . '</td>' . "\n";
$out .= '</tr>' . "\n";
$out .= '<tr id="gb_autoreport_post_info_' . $report['id'] . '" class="gb_autoreport_post_info' . ($report['id'] & 1 ? ' gb_autoreport_post_odd' : '') . '">' . "\n";
$out .= '<td>' . (is_privilegied('use_ghosting_tools') ? '<a href="/admin/guestbook_hack.php?id_1=' . $report['sender'] . '&id_2=' . $report['recipient'] . '">Läs diskussion</a>' : 'Kräver gb-hack') . '</td>' . "\n";
$out .= '<td>' . (is_privilegied('use_ghosting_tools') ? '<a href="/admin/guestbook_hack.php?id_1=' . $report['sender'] . '">Läs alla inlägg</a>' : 'Kräver gb-hack') . '</td>' . "\n";
$out .= '<td class="username"><a href="/traffa/profile.php?user_id=' . $report['user_id'] . '">' . $report['username'] . '</a></td>' . "\n";
$out .= '<td class="username"><a href="/traffa/profile.php?user_id=' . $report['recipient_id'] . '">' . $report['recipient_username'] . '</a></td>' . "\n";
$out .= '<td><a id="' . $report['id'] . '" class="gb_autoreport_validate" href="/ajax_gateways/gb_autoreport.php?action=post_validate&id=' . $report['id'] . '&return=true" style="color: green;">Validera</a></td>' . "\n";
$out .= '</tr>' . "\n";
}
$out .= '</table>' . "\n";
break;
}
ui_top($ui_options);
echo rounded_corners_tabs_top($rounded_corners_tabs_options, true);
echo $out;
echo rounded_corners_tabs_bottom($rounded_corners_tabs_options, true);
ui_bottom();
} catch (Exception $error) {
$options['type'] = 'error';
$options['title'] = 'Nu blev det fel här';
$options['message'] = $error->getMessage();
$options['collapse_link'] = 'Visa felsökningsinformation';
$options['collapse_information'] = preint_r($error, true);
$out .= ui_server_message($options);
preint_r($error);
}
示例5: parseContact
$contact2 = parseContact($_SESSION['userinfo']['contact2']);
echo listContactMediums('contact2_medium', $contact2['medium']);
echo ' Användarnamn/adress: ';
echo '<input name="contact2_handle" type="text" class="textbox" size="50" value="' . $contact2['handle'] . '"><br/>';
echo '<br /><br />';
echo '<strong>Förnamn</strong><br />' . "\n";
echo '<input type="text" name="firstname" class="textbox" value="' . $_SESSION['traffa']['firstname'] . '" /><br /><br />' . "\n";
echo '<br />';
echo '<input type="submit" value="Spara frivillig information »" class="button_150" id="optional_info_submit" />';
echo '</form>' . "\n";
/* echo '</div>' . "\n\n"; */
rounded_corners_tabs_bottom();
/* Lösenordsbyte */
echo '<a name="change_password"></a>';
/* echo '<div class="grey_faded_div">' . "\n"; */
rounded_corners_tabs_top();
echo '<h2 style="margin-top: 0px;">Byt lösenord</h2>' . "\n";
echo '<form action="' . $_SERVER['PHP_SELF'] . '?action=perform_changes&type=password" method="post">' . "\n";
echo '<table><tr style="font-weight: bold;"><td>Nuvarande lösenord</td><td>Nytt lösenord</td><td>Upprepa nytt lösenord</td></tr>' . "\n";
echo '<tr>' . "\n";
echo '<td><input type="password" name="password_old" class="textbox" /></td>' . "\n";
echo '<td><input type="password" name="password_new" class="textbox" /></td>' . "\n";
echo '<td><input type="password" name="password_verify" class="textbox" /></td>' . "\n";
echo '</tr></table><br />' . "\n";
echo '<input type="submit" class="button_80" value="Byt lösenord »" />' . "\n";
echo '</form>' . "\n";
/* echo '</div>' . "\n"; */
rounded_corners_tabs_bottom();
$rounded_corners_config['color'] = 'orange_deluxe';
$rounded_corners_config['return'] = true;
echo rounded_corners_top($rounded_corners_config);
示例6: open_search_menu_list
function open_search_menu_list($action = 'home')
{
$menu = array();
$menu[0]['href'] = '?action=home';
$menu[0]['label'] = 'Start';
$menu[1]['href'] = '?action=add_search_box';
$menu[1]['label'] = 'Lägg till söklåda';
$menu[2]['href'] = '?action=edit_search_boxes';
$menu[2]['label'] = 'Redigera söklådor';
$menu[3]['href'] = '?action=view_stats';
$menu[3]['label'] = 'Statistik';
$menu[5]['href'] = '?action=help';
$menu[5]['label'] = 'Hjälp';
foreach ($menu as $key => $menu_item) {
if ($menu_item['href'] == '?action=' . $action) {
$menu[$key]['current'] = TRUE;
}
}
$rounded_corners_tabs_options['tabs'] = $menu;
$out = rounded_corners_tabs_top($rounded_corners_tabs_options, true);
return $out;
}
示例7: wallpapers_admin_menu_list
function wallpapers_admin_menu_list($action = 'home')
{
$menu = array();
$menu[0]['href'] = '?action=view_cat';
$menu[0]['label'] = 'Kategorier';
$menu[1]['href'] = '?action=view_res';
$menu[1]['label'] = 'Upplösning';
$menu[2]['href'] = '?action=view_license';
$menu[2]['label'] = 'Licenser';
$menu[3]['href'] = '?action=view_authors';
$menu[3]['label'] = 'Upphovsrättsinnehavare';
$menu[5]['href'] = '?action=verify_wallpaper';
$menu[5]['label'] = '<span style="color:#ff691d;">Godkänn bakgrundsbild</span>';
foreach ($menu as $key => $menu_item) {
if ($menu_item['href'] == '?action=' . $action) {
$menu[$key]['current'] = TRUE;
}
}
$rounded_corners_tabs_options['tabs'] = $menu;
$out = rounded_corners_tabs_top($rounded_corners_tabs_options);
return $out;
}
示例8: isset
}
} else {
$out .= '<h2>Varna användare</h1>' . "\n";
$out .= '<p>Här kan du varna fulingar eller <span style="text-decoration: line-throught:">fiender</span>.</p>' . "\n";
$out .= '<form action="/admin/warnings.php" method="post">' . "\n";
$out .= '<strong>Användarnamn</strong> - <em>stora eller små bokstäver spelar ingen roll.</em><br />' . "\n";
$out .= isset($_GET["username"]) ? '<input type="text" readonly name="username" value="' . $_GET["username"] . '" /> Användarnamn hämtat via $_GET-parameter. Klicka <a href="/admin/warnings.php">här</a> för att skriva in fritext.<br />' . "\n" : '<input type="text" name="username" /><br />' . "\n";
$out .= '<br />';
$out .= '<strong>Anledning</strong> - <em>nödvändig, mycket nödvändig.</em><br />' . "\n";
$out .= '<textarea style="width: 500px;" name="reason"></textarea><br />' . "\n";
$out .= '<input type="submit" value="Skicka in begäran" /><br />' . "\n";
$out .= '</form>' . "\n";
}
foreach ($tab as $label => $href) {
if ($override == true && $label == 'Varningshistorik') {
$rounded_corners_tabs_options['tabs'][] = array('href' => $href, 'label' => $label, 'current' => true);
} elseif ($label == 'Varna användare' && stristr(THIS_URI, $href . '?username=')) {
$rounded_corners_tabs_options['tabs'][] = array('href' => $href, 'label' => $label, 'current' => true);
} else {
$rounded_corners_tabs_options['tabs'][] = THIS_URI == $href ? array('href' => $href, 'label' => $label, 'current' => true) : array('href' => $href, 'label' => $label);
}
}
$out_first .= rounded_corners_tabs_top($rounded_corners_tabs_options, true);
$out_last .= rounded_corners_tabs_bottom($rounded_corners_tabs_options, true);
// $out .= substr(THIS_URI, 0, 38).'<br />';
// $out .= (substr(THIS_URI, 0, 38) == $tab['Varningshistorik']) ? 'true' : 'false';
ui_top($ui_options);
echo $out_first;
echo $out;
echo $out_last;
ui_bottom();
示例9: isset
die;
}
$show = isset($_GET['show']) && in_array($_GET['show'], array('unactivated', 'activated', 'ideas')) ? $_GET['show'] : 'unactivated';
if (isset($_GET['activated']) && isset($_GET['id']) && in_array($_GET['activated'], array('yes', 'no')) && is_numeric($_GET['id']) && (int) $_GET['id'] > 0) {
$query = 'UPDATE flash_games_update';
/* Remember: activEted, not activAted. */
$query .= ' SET activeted = "' . $_GET['activated'] . '"';
$query .= ' WHERE id=' . $_GET['id'];
mysql_query($query) or report_sql_error($query);
}
$rounded_corners_tabs_config = array();
$rounded_corners_tabs_config['tabs'][] = array('href' => '?show=unactivated', 'label' => 'Nya objekt', 'current' => $show == 'unactivated');
$rounded_corners_tabs_config['tabs'][] = array('href' => '?show=activated', 'label' => 'Papperskorgen', 'current' => $show == 'activated');
$rounded_corners_tabs_config['tabs'][] = array('href' => '?show=ideas', 'label' => 'Kom med förslag till den här sidan', 'current' => $show == 'ideas');
$rounded_corners_tabs_config['return'] = true;
$out .= rounded_corners_tabs_top($rounded_corners_tabs_config);
if ($show == 'ideas') {
$out .= 'Om du har förslag till hur den här sidan kan förbättras så släng iväg ett gästboksinlägg till <a href="/traffa/guestbook.php?view=87926">Joel</a>.';
} else {
$query = 'SELECT name, url, id';
$query .= ' FROM flash_games_update';
/* I have realy no clue about why it's called "activeted". But I think changing it, is a bad idea... */
$query .= ' WHERE activeted = "' . ($show == 'activated' ? 'yes' : 'no') . '"';
$query .= ' ORDER BY id';
$result = mysql_query($query) or report_sql_error($query);
$out .= '<table>' . "\n";
while ($data = mysql_fetch_array($result)) {
$out .= '<tr>';
$out .= '<td><a href="?show=' . $show . '&activated=' . ($show == 'unactivated' ? 'yes' : 'no') . '&id=' . $data['id'] . '">[' . ($show == 'unactivated' ? 'X' : 'restore') . ']</a> <a href="' . $data['url'] . '" onclick="if(window.open(this.href)){ return false; }">[Länk]</a> ' . $data['name'] . '</td>';
$out .= '<td>' . $data['url'] . '</td>';
$out .= '</tr>' . "\n";
示例10: register_form
function register_form($values, $errors)
{
echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="post">' . "\n";
echo rounded_corners_tabs_top();
echo '<fieldset>' . "\n";
$class = '';
$legend = 'Användarnamn';
if (isset($errors['username'])) {
$class = ' class="error"';
switch ($errors['username']) {
case 'too_long':
$legend = 'Ditt användarnamn får inte vara längre än 16 tecken';
break;
case 'too_short':
$legend = 'Ditt användarnamn får inte vara kortare än två tecken';
break;
case 'already_taken':
$legend = 'Du har valt ett användarnamn som någon redan har';
break;
case 'invalid_characters':
$legend = 'Ditt användarnamn innehåller ogiltliga tecken';
break;
default:
$legend = 'Ogiltligt användarnamn, läs instruktionerna till höger';
break;
}
}
echo '<legend' . $class . '>' . $legend . '</legend>' . "\n";
echo '<div class="regform_inputs" style="height: 115px;">' . "\n";
echo '<h4>Välj ett användarnamn</h4>' . "\n";
echo '<input type="text" name="username" id="regfrm_input_username" value="' . $values['username'] . '"/><br /><br />' . "\n";
echo '<input type="button" class="button_130" value="Är namnet ledigt?" onclick="loadFragmentInToElement(\'/username_check.php?username=\' + document.getElementById(\'regfrm_input_username\').value, \'regfrm_username_status\');" />' . "\n";
echo '<div id="regfrm_username_status">' . "\n";
echo '</div>' . "\n";
echo '</div>' . "\n";
echo '<div class="regform_explanation">' . "\n";
echo '<p>' . "\n";
echo 'Ditt användarnamn kommer du använda för att logga in på Hamsterpaj, om du vill kan du byta användarnamn' . "\n";
echo 'efter att du har blivit medlem. Givetvis kan du inte välja ett användarnamn som någon annan redan har' . "\n";
echo 'valt.' . "\n";
echo '</p>' . "\n";
echo '<h4>Ett giltligt användarnamn</h4>' . "\n";
echo '<ul>' . "\n";
echo '<li>Består av 2-16 tecken</li>' . "\n";
echo '<li>Innehåller inga andra tecken än siffror, a-Z, bindestreck och understreck</li>' . "\n";
echo '<li>Innehåller inga fula ord</li>' . "\n";
echo '</ul>' . "\n";
echo '</div>' . "\n";
echo '</fieldset>' . "\n";
echo rounded_corners_tabs_bottom();
echo rounded_corners_tabs_top();
/* Password */
$class = '';
$legend = 'Lösenord';
if (isset($errors['password'])) {
$class = ' class="error"';
switch ($errors['password']) {
case 'mismatch':
$legend = 'De två lösenorden stämmer inte överrens';
break;
case 'too_short':
$legend = 'Ditt lösenord måste vara minst fyra tecken långt';
break;
}
}
echo '<fieldset>' . "\n";
echo '<legend' . $class . '>' . $legend . '</legend>' . "\n";
echo '<div class="regform_inputs">' . "\n";
echo '<h4>Önskat lösenord</h4>' . "\n";
echo '<input type="password" name="password" id="regfrm_input_password" value="' . $values['password'] . '" />' . "\n";
echo '<h4>Skriv lösenordet igen</h4>' . "\n";
echo '<input type="password" name="password_verify" id="regfrm_input_password_verify" value="' . $values['password_verify"'] . '" />' . "\n";
echo '</div>' . "\n";
echo '<div class="regform_explanation">' . "\n";
echo '<p>' . "\n";
echo 'Eftersom det finns en liten risk att du slinter på tangenterna måste du skriva ditt lösenord' . "\n";
echo 'två gånger, du kan ju inte se vad du skriver för lösenord och det kan ingen annan heller.' . "\n";
echo '</p>' . "\n";
echo '</div>' . "\n";
echo '</fieldset>' . "\n";
echo rounded_corners_tabs_bottom();
echo rounded_corners_tabs_top();
echo '<h2>Sunt förnuft, respekt och en trevlig ton på Hamsterpaj</h2>' . "\n";
echo '<p>' . "\n";
echo 'Vi tror inte på regler och paragrafer, vi tror att du själv förstår hur man beter sig på ett schysst sätt' . "\n";
echo 'och att du kan ta ansvar för det du skriver och gör. Men vi vill ändå påpeka några saker:' . "\n";
echo '</p>' . "\n";
echo '<ul>' . "\n";
echo '<li>' . "\n";
echo '<h3>Sex är jättehärligt</h3>' . "\n";
echo '<p>' . "\n";
echo 'Ibland vill man prata om det, och det är helt okej, vi har faktiskt ett eget forum för sex. Men, det är' . "\n";
echo 'inte okej att be andra om sex, lika lite okej som att ladda upp porrbilder eller att be andra visa sig ' . "\n";
echo 'lättklädda i webcam.' . "\n";
echo '</p>' . "\n";
echo '</li>' . "\n";
echo '<li>' . "\n";
echo '<h3>Visst finns det folk med fel åsikter</h3>' . "\n";
echo '<p>' . "\n";
echo 'När någon har fel ska man ju givetvis förklara hur det ligger till, som att människovärdet inte sitter' . "\n";
//.........这里部分代码省略.........
示例11: christmas_avatar_admin_menu_list
function christmas_avatar_admin_menu_list($action = 'home')
{
$menu = array();
$menu[0]['href'] = '?action=home';
$menu[0]['label'] = 'Start';
$menu[1]['href'] = '?action=add';
$menu[1]['label'] = 'Lägg till omröstning';
$menu[2]['href'] = '?action=edit';
$menu[2]['label'] = 'Redigera / ta bort';
foreach ($menu as $key => $menu_item) {
if ($menu_item['href'] == '?action=' . $action) {
$menu[$key]['current'] = TRUE;
}
}
$rounded_corners_tabs_options['tabs'] = $menu;
$rounded_corners_tabs_options['color'] = 'blue';
$output = rounded_corners_tabs_top($rounded_corners_tabs_options, true);
return $output;
}