Index: panels_views.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/panels_views/Attic/panels_views.install,v
retrieving revision 1.1.2.8
diff -u -p -r1.1.2.8 panels_views.install
--- panels_views.install	27 May 2008 20:21:15 -0000	1.1.2.8
+++ panels_views.install	27 Jun 2008 18:17:31 -0000
@@ -30,6 +30,25 @@ function panels_views_install() {
 }
 
 /**
+ * Add columns for custom "more" text.
+ */
+function panels_views_update_5100() {
+  $ret = array();
+  switch ($GLOBALS['db_type']) {
+    case 'mysql':
+    case 'mysqli':
+      $ret[] = update_sql("ALTER TABLE {panels_views} ADD more_text varchar(255) default ''");
+      $ret[] = update_sql("ALTER TABLE {panels_views} ADD allow_more_text integer default 0");
+      break;
+    case 'pgsql':
+      db_add_column($ret, 'panels_views', 'more_text', 'varchar(255)', array('default' => "''"));
+      db_add_column($ret, 'panels_views', 'allow_more_text', 'integer', array('default' => 0));
+      break;
+  }
+  return $ret;
+}
+
+/**
  * Implementation of hook_uninstall().
  */
 function panels_views_uninstall() {
Index: panels_views.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/panels_views/Attic/panels_views.module,v
retrieving revision 1.1.2.24
diff -u -p -r1.1.2.24 panels_views.module
--- panels_views.module	5 Jun 2008 03:46:21 -0000	1.1.2.24
+++ panels_views.module	27 Jun 2008 18:17:25 -0000
@@ -445,6 +445,19 @@ function panels_views_edit_view_form($vi
     '#default_value' => $panel_view->allow_more_link,
   );
 
+  $form['deco']['more_text'] = array(
+    '#type' => 'textfield',
+    '#title' => t('More link text'),
+    '#description' => t('If you activated panels own "more" link above, this allows you to customize the text to display.'),
+    '#default_value' => $panel_view->more_text,
+  );
+
+  $form['deco']['allow_more_text'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Allow the pane configuration to modify the "more" link text.'),
+    '#default_value' => $panel_view->allow_more_text,
+  );
+
   $form['deco']['feed_icons'] = array(
     '#type' => 'checkbox',
     '#title' => t('Show feed icons'),
@@ -811,6 +824,14 @@ function panels_views_render($conf, $pan
       (!$pv->allow_more_link && $pv->more_link)) {
     $block->more = array('href' => views_get_url($view, $args));
     $view->block_more = FALSE;
+
+    // Alternative "more" link text
+    if ($pv->allow_more_text && $conf['more_text']) {
+      $block->more['title'] = $conf['more_text'];
+    }
+    else if ($pv->more_text) {
+      $block->more['title'] = $pv->more_text;
+    }
   }
 
   // Turn on pager?
@@ -873,6 +894,9 @@ function panels_views_edit($id, $parents
     if ($pv->allow_more_link) {
       $conf['more_link'] = $pv->more_link;
     }
+    if ($pv->allow_more_text) {
+      $conf['more_text'] = $pv->more_text;
+    }
     if ($pv->allow_feed_icons) {
       $conf['feed_icons'] = $pv->feed_icons;
     }
@@ -937,6 +961,14 @@ function panels_views_edit($id, $parents
       '#title' => t('Provide a "more" link that links to the view'),
       '#description' => t('This is independent of any more link that may be provided by the view itself; if you see two more links, turn this one off. Views will only provide a more link if using the "block" type, however, so if using embed, use this one.'),
     );
+    if ($pv->allow_more_text) {
+      $form['more_text'] = array(
+        '#type' => 'textfield',
+        '#default_value' => $conf['more_text'],
+        '#title' => t('"More" link text'),
+        '#description' => t('If you activated panels own "more" link above, this allows you to customize the text to display.'),
+      );
+    }
   }
   if ($pv->allow_feed_icons) {
     $form['feed_icons'] = array(
@@ -1121,6 +1153,11 @@ function panels_views_pane_fields() {
       'arg' => '%d',
       'definition' => 'integer',
     ),
+    'more_text' => array(
+      'default' => '',
+      'arg' => "'%s'",
+      'definition' => 'varchar(255)',
+    ),
     'feed_icons' => array(
       'default' => FALSE,
       'arg' => '%d',
@@ -1178,6 +1215,11 @@ function panels_views_pane_fields() {
       'arg' => '%d',
       'definition' => 'integer',
     ),
+    'allow_more_text' => array(
+      'default' => FALSE,
+      'arg' => '%d',
+      'definition' => 'integer',
+    ),
     'allow_feed_icons' => array(
       'default' => FALSE,
       'arg' => '%d',
