Zen Cart Logo
Forums / Addon Templates / Winchester Responsive

Winchester Responsive

Views: 443,030

Results 21 to 40 of 953
8 May 2014, 12:59 AM
#21
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Winchester Responsive

Nice. Love the quick setup. Glitches seen have been minimal. I really don't know how you do it, given all the possible combinations of hardware & browsers. Still working through the setup instructions but a few hiccups that I noticed below:

Catalog Category Buttons which are functional @ max desktop width are non-functional as shown in the screenprint below. I had expected the non-functional button to yield the same result as the teeny down arrow.

[Attachment no longer available]

Alignment of DETAILS button on product pages a tad off.
[Attachment no longer available]

Custom Left Slide out works on desktop but not functional on landscape tablet (Samsung 8" Galaxy Tab3). Can the double-arrow button be turned off, disabled or removed? It does disappear on Portrait tablet, probably as designed.

Down for Maintenance notification bar has an effect on alignment.

8 May 2014, 1:59 PM
#22
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

Fix for the contact us subject line. Back up your includes/modules/pages/contact_us/header_php.php file. Then replace it with this one:

<?php
/**
 * Contact Us Page
 *
 * @package page
 * @copyright Copyright 2003-2012 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version GIT: $Id: Author: DrByte  Sat Jul 21 16:05:31 2012 -0400 Modified in v1.5.1 $
 * Updated Contact Us Subject for v1.5.1 by Judy Gunderson (stellarweb) 2013-08-16
 */

// This should be first line of the script:
$zco_notifier->notify('NOTIFY_HEADER_START_CONTACT_US');

require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));

$error = false;
if (isset($_GET['action']) && ($_GET['action'] == 'send')) {
  $name = zen_db_prepare_input($_POST['contactname']);
  $email_address = zen_db_prepare_input($_POST['email']);
  $subject = zen_db_prepare_input($_POST['subject']);
  $enquiry = zen_db_prepare_input(strip_tags($_POST['enquiry']));
  $antiSpam = isset($_POST['should_be_empty']) ? zen_db_prepare_input($_POST['should_be_empty']) : '';
  $zco_notifier->notify('NOTIFY_CONTACT_US_CAPTCHA_CHECK');

  $zc_validate_email = zen_validate_email($email_address);


  if ($zc_validate_email and !empty($enquiry) and !empty($name) and !empty($subject) && $error == FALSE) {
    // if anti-spam is not triggered, prepare and send email:
   if ($antiSpam != '') {
      $zco_notifier->notify('NOTIFY_SPAM_DETECTED_USING_CONTACT_US');
   } elseif ($antiSpam == '') {

    // auto complete when logged in
    if($_SESSION['customer_id']) {
      $sql = "SELECT customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id
              FROM " . TABLE_CUSTOMERS . "
              WHERE customers_id = :customersID";

      $sql = $db->bindVars($sql, ':customersID', $_SESSION['customer_id'], 'integer');
      $check_customer = $db->Execute($sql);
      $customer_email= $check_customer->fields['customers_email_address'];
      $customer_name= $check_customer->fields['customers_firstname'] . ' ' . $check_customer->fields['customers_lastname'];
    } else {
      $customer_email = NOT_LOGGED_IN_TEXT;
      $customer_name = NOT_LOGGED_IN_TEXT;
    }

    // use contact us dropdown if defined
    if (CONTACT_US_LIST !=''){
      $send_to_array=explode("," ,CONTACT_US_LIST);
      preg_match('/\<[^>]+\>/', $send_to_array[$_POST['send_to']], $send_email_array);
      $send_to_email= preg_replace ("/>/", "", $send_email_array[0]);
      $send_to_email= trim(preg_replace("/</", "", $send_to_email));
      $send_to_name = trim(preg_replace('/\<[^*]*/', '', $send_to_array[$_POST['send_to']]));
    } else {  //otherwise default to EMAIL_FROM and store name
    $send_to_email = trim(EMAIL_FROM);
    $send_to_name =  trim(STORE_NAME);
    }

    // Prepare extra-info details
    $extra_info = email_collect_extra_info($name, $email_address, $customer_name, $customer_email);
    // Prepare Text-only portion of message
    $text_message = OFFICE_FROM . "\t" . $name . "\n" .
    OFFICE_EMAIL . "\t" . $email_address . "\n\n" .
    '------------------------------------------------------' . "\n\n" .
    strip_tags($_POST['enquiry']) .  "\n\n" .
    '------------------------------------------------------' . "\n\n" .
    $extra_info['TEXT'];
    // Prepare HTML-portion of message
    $html_msg['EMAIL_MESSAGE_HTML'] = strip_tags($_POST['enquiry']);
    $html_msg['CONTACT_US_OFFICE_FROM'] = OFFICE_FROM . ' ' . $name . '<br />' . OFFICE_EMAIL . '(' . $email_address . ')';
    $html_msg['EXTRA_INFO'] = $extra_info['HTML'];
    // Send message
    zen_mail($send_to_name, $send_to_email, $subject, $text_message, $name, $email_address, $html_msg,'contact_us');
   }
    zen_redirect(zen_href_link(FILENAME_CONTACT_US, 'action=success'));
  } else {
    $error = true;
    if (empty($name)) {
      $messageStack->add('contact', ENTRY_EMAIL_NAME_CHECK_ERROR);
    }
	if (empty($subject)) {
      $messageStack->add('contact', ENTRY_EMAIL_SUBJECT_CHECK_ERROR);
    }
    if ($zc_validate_email == false) {
      $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
    }
    if (empty($enquiry)) {
      $messageStack->add('contact', ENTRY_EMAIL_CONTENT_CHECK_ERROR);
    }
  }
} // end action==send

// default email and name if customer is logged in
if($_SESSION['customer_id']) {
  $sql = "SELECT customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id
          FROM " . TABLE_CUSTOMERS . "
          WHERE customers_id = :customersID";

  $sql = $db->bindVars($sql, ':customersID', $_SESSION['customer_id'], 'integer');
  $check_customer = $db->Execute($sql);
  $email_address = $check_customer->fields['customers_email_address'];
  $name= $check_customer->fields['customers_firstname'] . ' ' . $check_customer->fields['customers_lastname'];
}

$send_to_array = array();
if (CONTACT_US_LIST !=''){
  foreach(explode(",", CONTACT_US_LIST) as $k => $v) {
    $send_to_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v));
  }
}

// include template specific file name defines
$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_CONTACT_US, 'false');

$breadcrumb->add(NAVBAR_TITLE);

// This should be the last line of the script:
$zco_notifier->notify('NOTIFY_HEADER_END_CONTACT_US');

Thanks,

Anne

8 May 2014, 2:17 PM
#23
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

RixStix:

Nice. Love the quick setup. Glitches seen have been minimal. I really don't know how you do it, given all the possible combinations of hardware & browsers. Still working through the setup instructions but a few hiccups that I noticed below:

Catalog Category Buttons which are functional @ max desktop width are non-functional as shown in the screenprint below. I had expected the non-functional button to yield the same result as the teeny down arrow.

[Attachment no longer available]

Alignment of DETAILS button on product pages a tad off.
[Attachment no longer available]

Custom Left Slide out works on desktop but not functional on landscape tablet (Samsung 8" Galaxy Tab3). Can the double-arrow button be turned off, disabled or removed? It does disappear on Portrait tablet, probably as designed.

Down for Maintenance notification bar has an effect on alignment.

Thanks for pointing out the menu. It looks like this is a feature of the menu since it is also behaving this way on the demo:

http://adnantopal.github.io/slimmenu/

Thank you so much for your feedback :)

I see how it is confusing. I will try out some other responsive menus ;)

To fix the details button in includes/modules/winchester_responsive/product_listing.php change this:

        if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
          $lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT, 'class="listingBuyNowButton"') . '</a>';

to this:

        if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
          $lc_button = '<div class="pl-details"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT, 'class="listingBuyNowButton"') . '</a></div>';

Then add this to the stylesheet.css file around line 252:

.pl-details{margin-bottom:0px;}.slide-out-div

If you want to hide the slide out you can add this to the lanscape tablet portion of the responsive_tablets.css file:

.slide-out-div{display:none;}

I didn't spend any time on the down for maintenance pages. I'll make a note to test them on the next update ;)

Thanks,

Anne

8 May 2014, 3:57 PM
#24
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Winchester Responsive

picaflor-azul:

Fix for the contact us subject line. Back up your includes/modules/pages/contact_us/header_php.php file. Then replace it with this one:

Thanks,

Anne

It worked, thanks!

8 May 2014, 4:18 PM
#25
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Winchester Responsive

**
That did the trick. TNX Anne.**

picaflor-azul:

To fix the details button in includes/modules/winchester_responsive/product_listing.php change this:

    if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
      $lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT, 'class="listingBuyNowButton"') . '</a>';
> 
> to this:
> 
> ```
        if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
          $lc_button = '<div class="pl-details"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT, 'class="listingBuyNowButton"') . '</a></div>';

Then add this to the stylesheet.css file around line 252:

.pl-details{margin-bottom:0px;}.slide-out-div

8 May 2014, 11:18 PM
#26
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Winchester Responsive

I have trouble posting these comments because it always sounds more like a gripe than constructive no matter how much I think about it or how many times I re-type it.

[Attachment no longer available]

Information menu tab => Customer Service & General Info fly out to the right, off-screen on Samsung 8" tablets, landscape mode. Image above is a full, unedited screenprint. Waiting for some 7" and 10" Android tablet time later today.

Why does MSFT have to be so different? There's probably not much you can do about it and I have more checking to do but MSFT touch implementation on the first Windows tablet make the template difficult, at best for functionality. Many buttons which function perfectly with a mouse do nothing on Windows touch devices. Windows Surface RT and Windows Pro tomorrow.

Left side flyout actually opens a Windows right-click menu probably because it is touching the left screen edge and detecting it as a left swipe.

We don't speak Apple.

8 May 2014, 11:59 PM
#27
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

RixStix:

I have trouble posting these comments because it always sounds more like a gripe than constructive no matter how much I think about it or how many times I re-type it.

[Attachment no longer available]

Information menu tab => Customer Service & General Info fly out to the right, off-screen on Samsung 8" tablets, landscape mode. Image above is a full, unedited screenprint. Waiting for some 7" and 10" Android tablet time later today.

Why does MSFT have to be so different? There's probably not much you can do about it and I have more checking to do but MSFT touch implementation on the first Windows tablet make the template difficult, at best for functionality. Many buttons which function perfectly with a mouse do nothing on Windows touch devices. Windows Surface RT and Windows Pro tomorrow.

Left side flyout actually opens a Windows right-click menu probably because it is touching the left screen edge and detecting it as a left swipe.

We don't speak Apple.

Thank you so much for the feedback. I did not test on any windows tablets.

Thanks,

Anne

9 May 2014, 9:59 AM
#28
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Winchester Responsive

Hi Anne,

Using your demo site, on a desktop pc with a window width around 768px the drop-down menu titles are aligned right - sitting on top pf the drop arrows, as in this image

Attachment 14041

Left side flyout actually opens a Windows right-click menu probably because it is touching the left screen edge and detecting it as a left swipe.

On my Windows touch device, 13.3" HP Split x2 1366 x 768, the left side flyout does not stay out (pops out and immediately back again). Any subsequent taps on the flyout button do nothing unless the page is refreshed.

9 May 2014, 10:08 AM
#29
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Winchester Responsive

RixStix:

Information menu tab => Customer Service & General Info fly out to the right, off-screen on Samsung 8" tablets, landscape mode. Image above is a full, unedited screenprint. Waiting for some 7" and 10" Android tablet time later today.

Why does MSFT have to be so different? There's probably not much you can do about it and I have more checking to do but MSFT touch implementation on the first Windows tablet make the template difficult, at best for functionality. Many buttons which function perfectly with a mouse do nothing on Windows touch devices. Windows Surface RT and Windows Pro tomorrow.

Noticed that this occurs on a Windows desktop (non-touch) on a window width between approx 800px and 950px

9 May 2014, 12:56 PM
#30
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

simon1066:

Hi Anne,

Using your demo site, on a desktop pc with a window width around 768px the drop-down menu titles are aligned right - sitting on top pf the drop arrows, as in this image

Attachment 14041

On my Windows touch device, 13.3" HP Split x2 1366 x 768, the left side flyout does not stay out (pops out and immediately back again). Any subsequent taps on the flyout button do nothing unless the page is refreshed.

This template is using a php mobile detect script to recognize devices and deliver the appropriate layout to that device. When a device is not detected, which happens on a desktop, or on these windows tablets the fall back responsive_default.css stylesheet is served. I did not spend a lot of time on the responsive_default.css as a large majority of devices will work correctly and have the appropriate layout served to them. If you want to view the tablet layout on a desktop you can use the url:

http://www.zenlyzen.com/responsive-zen-cart-templates/index.php?main_page=index&display_mode=isTablet

and if you want to view the mobile layout on the desktop you can use:

http://www.zenlyzen.com/responsive-zen-cart-templates/index.php?main_page=index&display_mode=isMobile

then you can resize your window to the device width to view portrait or landscape layouts.

Thanks,

Anne

9 May 2014, 3:46 PM
#31
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Winchester Responsive

picaflor-azul:

This template is using a php mobile detect script to recognize devices and deliver the appropriate layout to that device. When a device is not detected, which happens on a desktop, or on these windows tablets the fall back responsive_default.css stylesheet is served. I did not spend a lot of time on the responsive_default.css as a large majority of devices will work correctly and have the appropriate layout served to them. If you want to view the tablet layout on a desktop you can use the url:

http://www.zenlyzen.com/responsive-zen-cart-templates/index.php?main_page=index&display_mode=isTablet

and if you want to view the mobile layout on the desktop you can use:

http://www.zenlyzen.com/responsive-zen-cart-templates/index.php?main_page=index&display_mode=isMobile

then you can resize your window to the device width to view portrait or landscape layouts.

Thanks,

Anne

Thanks for the explanation of how the stylesheets are structured and selected. Knowing what css file does what, I can make those edits, I'm sure.

Cheers

Simon

9 May 2014, 3:47 PM
#32
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

simon1066:

Thanks for the explanation of how the stylesheets are structured and selected. Knowing what css file does what, I can make those edits, I'm sure.

Cheers

Simon

You can also see the DIY Responsive Template Default package and readme as this is what I used to build the templates.

Thanks,

Anne

9 May 2014, 4:14 PM
#33
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Winchester Responsive

Anne,

I don't know what it is, but on your demo in Chrome and Firefox I only get the homepage as Winchester Responsive. Any page after that goes to the classic default template.

My IE9 hangs on to Winchester, but in the messed-up compatability mode thing we already went over.

If others don't have this problem with Chrome and Firefox then I guess it must be my machine...a real possibility.

9 May 2014, 4:35 PM
#34
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

SPH:

Anne,

I don't know what it is, but on your demo in Chrome and Firefox I only get the homepage as Winchester Responsive. Any page after that goes to the classic default template.

My IE9 hangs on to Winchester, but in the messed-up compatability mode thing we already went over.

If others don't have this problem with Chrome and Firefox then I guess it must be my machine...a real possibility.

Sorry about that. I am working on this. It is being caused by the template switcher. It has to do with cookies. It is working for me in chrome and firefox but I have seen the problem popup intermittently.

Thanks,

Anne

9 May 2014, 6:03 PM
#35
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Winchester Responsive

picaflor-azul:

Sorry about that. I am working on this. It is being caused by the template switcher. It has to do with cookies. It is working for me in chrome and firefox but I have seen the problem popup intermittently.

Thanks,

Anne

When I navigate to ANY other page in the demo I am taken to the Classic template.. Using Firefox.. lastest version..

9 May 2014, 6:08 PM
#36
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

DivaVocals:

When I navigate to ANY other page in the demo I am taken to the Classic template.. Using Firefox.. lastest version..

Thanks for posting. Yes, I am working on this. Can you use the template switcher sidebox to switch back to the Winchester Responsive template?

Thanks,

Anne

9 May 2014, 6:44 PM
#37
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Winchester Responsive

picaflor-azul:

Thanks for posting. Yes, I am working on this. Can you use the template switcher sidebox to switch back to the Winchester Responsive template?

Thanks,

Anne

Ahhhh.. that did the trick.. now I can see the rest of this template.. Thanks..

9 May 2014, 6:54 PM
#38
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Winchester Responsive

Anne, I'm loving it so far :hug:
Could you explain what/where the CSS code is to control the change on hover for the category image backgrounds please? I'd love to try that same hover effect in action on Stirling Grand.

9 May 2014, 7:07 PM
#39
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

picandnix:

Anne, I'm loving it so far :hug:
Could you explain what/where the CSS code is to control the change on hover for the category image backgrounds please? I'd love to try that same hover effect in action on Stirling Grand.

If you look at the stylesheet.css file look at line 341 and 342 ;) It is using a css transition.

Thanks,

Anne

9 May 2014, 7:28 PM
#40
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Winchester Responsive

There are quite a few differences between the includes\classes\split_page_results.php file and the default one for Zen Cart v1.5.1.. As there are no code comments present, I am not sure which of these changes are related to one of the bundled modules.. Can you provide some insight as to what the changes are and for which bundled module do they relate to??

Just taking a guess it looks like these are the some of the changes made.. Not sure if the rest are differences between Zen Cart versions or other changes that are a result of template related mods..

Lines 44-48

    if ($page == 'all') {
      $this->page_all = true;
      $override = $db->Execute($query);
      $max_rows = $override->RecordCount();
    }

Lines 108-111

    if ((!$this->page_all) && ($this->number_of_pages > 1)) $display_links_string .= '<a href="' . zen_href_link($_GET['main_page'], $parameters . $this->page_name . '=' . 'all', $request_type) . '" title=" ' . SHOW_ALL_TITLE . ' ">' . SHOW_ALL_BUTTON . '</a>    ';
    elseif ($this->page_all) $display_links_string .= '<a href="' . zen_href_link($_GET['main_page'], $parameters, $request_type) . '" title=" ' . SHOW_PAGEVIEW_TITLE . ' ">' . SHOW_PAGEVIEW_BUTTON . '</a>  ';  

Lines 125-132

    // page nn button - visa inte om alla sidor visas
    if (!$this->page_all) {
    for ($jump_to_page = 1 + (($cur_window_num - 1) * $max_page_links); ($jump_to_page <= ($cur_window_num * $max_page_links)) && ($jump_to_page <= $this->number_of_pages); $jump_to_page++) {
      if ($jump_to_page == $this->current_page_number) {
        $display_links_string .= ' <strong class="current">' . $jump_to_page . '</strong> ';
      } else {
        $display_links_string .= ' <a href="' . zen_href_link($_GET['main_page'], $parameters . $this->page_name . '=' . $jump_to_page, $request_type) . '" title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $jump_to_page) . ' ">' . $jump_to_page . '</a> ';
      }