? 949070-styleguide-gci.patch
? 949070-styleguide_1.patch
? 950884-styleguide-subtasks.patch
? 989076-gci-2.patch
? 989076-gci.patch
? styleguide.js
Index: styleguide.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/styleguide/styleguide.module,v
retrieving revision 1.13
diff -u -p -r1.13 styleguide.module
--- styleguide.module	4 Dec 2010 17:46:27 -0000	1.13
+++ styleguide.module	16 Dec 2010 18:30:27 -0000
@@ -559,3 +559,20 @@ function styleguide_form($form, &$form_s
   }
   return $form;
 }
+
+/**
+ * Simulate Drupal pagination,
+ *
+ * @param $size
+ *   The number of page numbers to display.
+ * @param $total
+ *   The total number of pages to simulate.
+ * @return
+ *   A Drupal pager HTML element.
+ */
+function styleguide_pager($size = 8, $total = 20) {
+  global $pager_page_array, $pager_total;
+  $pager_page_array[-99] = $size;
+  $pager_total[-99] = $total;
+  return theme('pager', array('element' => -99));
+}
Index: styleguide.styleguide.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/styleguide/styleguide.styleguide.inc,v
retrieving revision 1.8
diff -u -p -r1.8 styleguide.styleguide.inc
--- styleguide.styleguide.inc	4 Dec 2010 17:46:27 -0000	1.8
+++ styleguide.styleguide.inc	16 Dec 2010 18:30:28 -0000
@@ -164,6 +164,26 @@ function styleguide_styleguide() {
     'content' => drupal_get_form('styleguide_form', $tabs),
     'group' => t('Forms'),
   );
+  $items['system_powered_by'] = array(
+    'title' => t('System powered by'),
+    'content' => theme('system_powered_by'),
+    'group' => t('System')
+  );
+  $items['maintenance_page'] = array(
+    'title' => t('Maintenance page'),
+    'content' => theme('maintenance_page', array('content' => styleguide_paragraph(2))),
+    'group' => t('System')
+  );
+  $items['pager'] = array(
+    'title' => t('Pager'),
+    'content' => styleguide_pager(),
+    'group' => t('User interface')
+  );
+  $items['progress_bar'] = array(
+    'title' => t('Progress bar'),
+    'content' => theme('progress_bar', array('percent' => 57, 'message' => styleguide_sentence(2))),
+    'group' => t('User interface')
+  );
 
   return $items;
 }
