? sites/all/modules/devel
? sites/all/modules/devel-7.x-1.x-dev.tar.gz
? sites/all/modules/devel-7.x-1.x-dev.tar.gz.1
? sites/default/files
? sites/default/settings.php
Index: themes/bartik/template.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/template.php,v
retrieving revision 1.2
diff -u -p -r1.2 template.php
--- themes/bartik/template.php	11 Jul 2010 22:06:40 -0000	1.2
+++ themes/bartik/template.php	15 Jul 2010 18:31:57 -0000
@@ -41,6 +41,7 @@ function bartik_process_html(&$variables
  * Override or insert variables into the page template.
  */
 function bartik_process_page(&$variables) {
+  $variables['tabs2'] = menu_secondary_local_tasks();
   // Hook into color.module.
   if (module_exists('color')) {
     _color_page_alter($variables);
@@ -151,3 +152,11 @@ function bartik_page_alter(&$page) {
     }
   }
 }
+
+/**
+ * Returns the rendered local tasks. The default implementation renders
+ * them as tabs. Overridden to split the secondary tasks.
+ */
+function bartik_menu_local_tasks() {
+  return menu_primary_local_tasks();
+}
Index: themes/bartik/templates/page.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/templates/page.tpl.php,v
retrieving revision 1.1
diff -u -p -r1.1 page.tpl.php
--- themes/bartik/templates/page.tpl.php	6 Jul 2010 05:25:51 -0000	1.1
+++ themes/bartik/templates/page.tpl.php	15 Jul 2010 18:31:57 -0000
@@ -177,9 +177,10 @@
         </h1>
       <?php endif; ?>
       <?php print render($title_suffix); ?>
-      <?php if ($tabs): ?>
-        <div class="tabs">
-          <?php print render($tabs); ?>
+      <?php if ($tabs || $tabs2): ?>
+        <div id="tabs">
+          <?php if ($tabs): ?><ul class="tabs primary"><?php print render($tabs) ?></ul></div><?php endif; ?>
+          <?php if ($tabs2): ?><ul class="tabs secondary"><?php print render($tabs2) ?></ul><?php endif; ?>
         </div>
       <?php endif; ?>
       <?php print render($page['help']); ?>
