当前位置: 首页>>代码示例>>PHP>>正文


PHP mslib_fe::typolink方法代码示例

本文整理汇总了PHP中mslib_fe::typolink方法的典型用法代码示例。如果您正苦于以下问题:PHP mslib_fe::typolink方法的具体用法?PHP mslib_fe::typolink怎么用?PHP mslib_fe::typolink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在mslib_fe的用法示例。


在下文中一共展示了mslib_fe::typolink方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: htmlspecialchars

            $row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
            $items[$row['cu_iso_3']] = '<option value="' . $row['cu_iso_3'] . '"' . ($this->cookie['selected_currency'] == $row['cu_iso_3'] ? ' selected' : '') . '>' . htmlspecialchars($row['cu_name_en']) . '</option>' . "\n";
        }
    }
    $content .= implode($items);
    $content .= '
	</select>
	</form>
	';
    $GLOBALS['TSFE']->additionalHeaderData[] = '
	<script>
		jQuery(document).ready(function($)
		{
			$(\'#multishop_currency_selector\').change(function(){
				var selected_currency=$("#multishop_currency_selector option:selected").val();
				if (selected_currency)
				{
					$.ajax({
							type:   "POST",
							url:    "' . mslib_fe::typolink($this->shop_pid . ',2002', '&tx_multishop_pi1[page_section]=update_currency') . '",
							data:   "tx_multishop_pi1[selected_currency]="+selected_currency,
							success: function(msg) {
								parent.window.location.reload();
							}
					});
				}
			});
		});
	</script>
	';
}
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:currency_selector.php

示例2: array

    $markerArray['ORDERS_ID'] = $order['orders_id'];
    $markerArray['USER_AGENT'] = $order['user_agent'];
    // custom page hook that can be controlled by third-party plugin eof
    $orderItem .= $this->cObj->substituteMarkerArray($subparts['useragents_listing'], $markerArray, '###|###');
}
$actions = array();
$formFields = array();
$query_string = mslib_fe::tep_get_all_get_params(array('tx_multishop_pi1[action]', 'tx_multishop_pi1[order_by]', 'tx_multishop_pi1[order]', 'p', 'Submit', 'weergave', 'clearcache'));
$subpartArray = array();
$subpartArray['###LABEL_HEADER_ORDERS_ID###'] = $this->pi_getLL('orders_id');
$subpartArray['###LABEL_FOOTER_ORDERS_ID###'] = $this->pi_getLL('orders_id');
$subpartArray['###LABEL_HEADER_CUSTOMER###'] = $this->pi_getLL('customer');
$subpartArray['###LABEL_FOOTER_CUSTOMER###'] = $this->pi_getLL('customer');
$subpartArray['###LABEL_HEADER_IP_ADDRESS###'] = $this->pi_getLL('ip_address');
$subpartArray['###LABEL_FOOTER_IP_ADDRESS###'] = $this->pi_getLL('ip_address');
$subpartArray['###LABEL_HEADER_USER_AGENT###'] = $this->pi_getLL('user_agent', 'user agents');
$subpartArray['###LABEL_FOOTER_USER_AGENT###'] = $this->pi_getLL('user_agent', 'user agents');
$subpartArray['###ADMIN_LABEL_LINK_DOWNLOAD_AS_EXCEL###'] = $this->pi_getLL('admin_label_link_download_as_excel');
// pagination
$this->ms['MODULES']['PAGESET_LIMIT'] = $this->ms['MODULES']['ORDERS_LISTING_LIMIT'];
if (!$this->ms['nopagenav'] and $pageset['total_rows'] > $this->ms['MODULES']['PAGESET_LIMIT']) {
    $tmp = '';
    require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/admin_pages/includes/admin_pagination.php';
    $pagination_listing = $tmp;
}
// pagination eof
$subpartArray['###DOWNLOAD_EXCEL###'] = mslib_fe::typolink($this->shop_pid . ',2003', 'tx_multishop_pi1[page_section]=admin_useragent_export');
$subpartArray['###PAGINATION###'] = $pagination_listing;
$subpartArray['###ORDERS_LISTING###'] = $orderItem;
// custom page hook that can be controlled by third-party plugin eof
$order_results = $this->cObj->substituteMarkerArrayCached($subparts['useragents_results'], array(), $subpartArray);
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:user-agent_listing_table.php

示例3: floor

            $tmp .= '<li><div class="dyna_button"><span>' . $x . '</span></div></li>';
        } else {
            $tmp .= '<li><div class="dyna_button"><a class="ajax_link pagination_button" href="' . mslib_fe::typolink('', 'p=' . ($x - 1) . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'page', 'mini_foto', 'clearcache')), 1) . '">' . $x . '</a></div></li>';
        }
    }
    $tmp .= '</ul>
</li>';
    $tmp .= '<li class="pagenav_next"><div class="dyna_button">';
    if (($p + 1) * $limit_per_page < $pageset['total_rows']) {
        $tmp .= '<a class="ajax_link pagination_button" href="' . mslib_fe::typolink('', 'p=' . ($p + 1) . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'page', 'mini_foto', 'clearcache')), 1) . '">' . $this->pi_getLL('next') . '</a>';
    } else {
        $tmp .= '<span>' . $this->pi_getLL('next') . '</span>';
    }
    $tmp .= '</div></li>';
    $tmp .= '<li class="pagenav_last"><div class="dyna_button">';
    if (($p + 1) * $limit_per_page < $pageset['total_rows']) {
        $times = $pageset['total_rows'] / $limit_per_page;
        $lastpage = floor($times);
        if ($lastpage == $times) {
            $lastpage--;
        }
        $tmp .= '<a class="ajax_link pagination_button" href="' . mslib_fe::typolink('', 'p=' . $lastpage . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'page', 'mini_foto', 'clearcache')), 1) . '">' . $this->pi_getLL('last') . '</a>';
    } else {
        $tmp .= '<span>' . $this->pi_getLL('last') . '</span>';
    }
    $tmp .= '</div></li>';
    $tmp .= '</ul>
</div>
';
    $content .= $tmp;
}
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:products_listing_pagination_with_number.php

示例4: jQuery

	<script>
	  jQuery(document).ready(function($) {
		$(".disabled_product").css({ opacity: 0.6 });
		$(".disabled_product").hover(
		  function () {
			$(".disabled_product").css({ opacity: 1 });
		  },
		  function () {
			$(".disabled_product").css({ opacity: 0.6 });
		  }
		);			  
		var result = jQuery(".product_listing").sortable({
			cursor:     "move", 
			//axis:       "y", 
			update: function(e, ui) { 
				href = "' . mslib_fe::typolink($this->shop_pid . ',2002', '&tx_multishop_pi1[page_section]=product&catid=' . $current_product['categories_id']) . '";
				jQuery(this).sortable("refresh"); 
				sorted = jQuery(this).sortable("serialize", "id"); 
				jQuery.ajax({ 
						type:   "POST", 
						url:    href, 
						data:   sorted, 
						success: function(msg) { 
								//do something with the sorted data 
						} 
				}); 
			} 

		});
	  });
	  </script>					
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:grid_with_detail_button.php

示例5: count

$mslib_cart->init($this);
$cart = $mslib_cart->getCart();
$cart_total_amount = $mslib_cart->countCartTotalPrice(0);
$count_products = count($cart['products']);
if (!empty($this->ms['MODULES']['MINIMUM_ORDER_AMOUNT']) && $this->ms['MODULES']['MINIMUM_ORDER_AMOUNT'] > 0) {
    if ($cart_total_amount < $this->ms['MODULES']['MINIMUM_ORDER_AMOUNT']) {
        // redirect to shopping cart page
        header('Location: ' . $this->FULL_HTTP_URL . mslib_fe::typolink($this->conf['shoppingcart_page_pid'], '&tx_multishop_pi1[page_section]=shopping_cart'));
        exit;
    }
}
// maximum order amount
if (!empty($this->ms['MODULES']['MAXIMUM_ORDER_AMOUNT']) && $this->ms['MODULES']['MAXIMUM_ORDER_AMOUNT'] > 0) {
    if ($cart_total_amount > $this->ms['MODULES']['MAXIMUM_ORDER_AMOUNT']) {
        // redirect to shopping cart page
        header('Location: ' . $this->FULL_HTTP_URL . mslib_fe::typolink($this->conf['shoppingcart_page_pid'], '&tx_multishop_pi1[page_section]=shopping_cart'));
        exit;
    }
}
if (is_array($cart['products']) and $count_products) {
    // load customer country
    // use for filtering the available payment on the customer country
    $address = $cart['user'];
    if (isset($this->post['country']) && !empty($this->post['country']) && $this->post['country'] != $address['country']) {
        $address['country'] = $this->post['country'];
    }
    if (!$address['country']) {
        $user_country = 0;
    } else {
        $iso_customer = mslib_fe::getCountryByName($address['country']);
        $user_country = $iso_customer['cn_iso_nr'];
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:checkout.php

示例6: loginAsUser

 public function loginAsUser($uid, $section = '')
 {
     if (!is_numeric($uid)) {
         return false;
     }
     $user = mslib_fe::getUser($uid);
     if ($user['uid']) {
         $GLOBALS['TSFE']->fe_user->logoff();
         $GLOBALS['TSFE']->loginUser = 0;
         $fe_user = $GLOBALS['TSFE']->fe_user;
         $fe_user->createUserSession(array('uid' => $uid));
         $fe_user->user = $fe_user->getRawUserByUid($uid);
         $fe_user->fetchGroupData();
         $GLOBALS['TSFE']->loginUser = 1;
         /*
          * Old style, dont use this anymore. use above approach which uses the $uid
         // auto login the user
         $loginData=array(
         	'uname'=>$user['username'],
         	//usernmae
         	'uident'=>$user['password'],
         	//password
         	'status'=>'login'
         );
         $GLOBALS['TSFE']->fe_user->checkPid=0; //do not use a particular pid
         $info=$GLOBALS['TSFE']->fe_user->getAuthInfoArray();
         $user=$GLOBALS['TSFE']->fe_user->fetchUserRecord($info['db_user'], $loginData['uname']);
         $GLOBALS['TSFE']->fe_user->createUserSession($user);
         */
         // auto login the user
         if (is_numeric($this->conf['login_as_customer_target_pid'])) {
             $targetPid = $this->conf['login_as_customer_target_pid'];
         } else {
             $targetPid = $this->shop_pid;
         }
         $redirect_url = $this->FULL_HTTP_URL . mslib_fe::typolink($targetPid);
         //hook to let other plugins further manipulate the redirect link
         if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/multishop/pi1/classes/class.mslib_befe.php']['loginAsUserRedirectLinkPreProc'])) {
             $params = array('user' => $user, 'redirect_url' => &$redirect_url, 'section' => &$section);
             foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/multishop/pi1/classes/class.mslib_befe.php']['loginAsUserRedirectLinkPreProc'] as $funcRef) {
                 \TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction($funcRef, $params, $this);
             }
         }
         if ($redirect_url) {
             header("Location: " . $redirect_url);
         }
         exit;
     }
 }
开发者ID:bvbmedia,项目名称:multishop,代码行数:49,代码来源:class.mslib_befe.php

示例7: array_reverse

            $cats = array_reverse($cats);
            $where = '';
            if (count($cats) > 0) {
                foreach ($cats as $item) {
                    $where .= "categories_id[" . $level . "]=" . $item['id'] . "&";
                    $level++;
                }
                $where = substr($where, 0, strlen($where) - 1);
                $where .= '&';
            }
            $where .= 'categories_id[' . $level . ']=' . $category['categories_id'];
            // get all cats to generate multilevel fake url eof
            if ($category['categories_external_url']) {
                $link = $category['categories_external_url'];
            } else {
                $link = mslib_fe::typolink($this->conf['products_listing_page_pid'], '&' . $where . '&tx_multishop_pi1[page_section]=products_listing');
            }
            $name = '<a href="' . $link . '" class="ajax_link">' . $category['categories_name'] . '</a>';
            $html = '<div class="main_category_box">' . "\n" . '
			<h2>' . $name . '</h2>' . "\n" . '</div>';
        } else {
            $name = '<span>' . $category['categories_name'] . '</span>';
            $subcats_html = mslib_fe::get_subcategories_as_ul($category['categories_id']);
            if ($subcats_html) {
                $html = '<div class="main_category_box">' . "\n" . '
				<h2>' . $name . '</h2>' . "\n";
                $html .= $subcats_html . "\n" . '
				</div>';
            }
        }
        if ($html) {
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:menu_without_products.php

示例8: array

$subpartArray['###BACK_BUTTON###'] = '<hr><div class="clearfix"><a class="btn btn-success msAdminBackToCatalog" href="' . mslib_fe::typolink() . '"><span class="fa-stack"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-arrow-left fa-stack-1x"></i></span> ' . $this->pi_getLL('admin_close_and_go_back_to_catalog') . '</a></div>';
// Instantiate admin interface object
$objRef =& \TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj('EXT:multishop/pi1/classes/class.tx_mslib_admin_interface.php:&tx_mslib_admin_interface');
$objRef->setInterfaceKey('admin_categories');
// Header buttons
$headerButtons = array();
// Create category button
$headingButton = array();
$headingButton['btn_class'] = 'btn btn-primary';
$headingButton['fa_class'] = 'fa fa-plus-circle';
$headingButton['title'] = $this->pi_getLL('admin_add_new_category_to_the_catalog');
$headingButton['href'] = mslib_fe::typolink($this->shop_pid . ',2003', 'tx_multishop_pi1[page_section]=add_category&action=add_category');
$headerButtons[] = $headingButton;
// Create multiple categories button
$headingButton = array();
$headingButton['btn_class'] = 'btn btn-primary';
$headingButton['fa_class'] = 'fa fa-plus-circle';
$headingButton['title'] = $this->pi_getLL('admin_add_new_multiple_category_to_the_catalog', 'Add new categories simultaneous');
$headingButton['href'] = mslib_fe::typolink($this->shop_pid . ',2003', 'tx_multishop_pi1[page_section]=add_multiple_category&action=add_multiple_category');
$headerButtons[] = $headingButton;
$headingButton = array();
$headingButton['btn_class'] = 'btn btn-primary';
$headingButton['fa_class'] = 'fa fa-plus-circle';
$headingButton['title'] = $this->pi_getLL('admin_create_new_products_here');
$headingButton['href'] = mslib_fe::typolink($this->shop_pid . ',2003', 'tx_multishop_pi1[page_section]=add_product&action=add_product');
$headerButtons[] = $headingButton;
// Set header buttons through interface class so other plugins can adjust it
$objRef->setHeaderButtons($headerButtons);
// Get header buttons through interface class so we can render them
$subpartArray['###INTERFACE_HEADER_BUTTONS###'] = $objRef->renderHeaderButtons();
$content .= $this->cObj->substituteMarkerArrayCached($subparts['template'], array(), $subpartArray);
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:admin_categories.php

示例9: array

                $deliver_to_sb .= '
				<select name="deliver_to_country" id="deliver_to_country" class="country" title="' . $this->pi_getLL('country_is_required') . '">
					' . $tmpcontent_con . '
				</select>
				';
            }
        }
        // country eof
        $subpartArray['###SHIPPING_COST_COUNTRY_SELECTION###'] = '
		<div class="shoppingcart_shipping_cost_wrapper">
			<div class="shipping_deliver_to"><label for="deliver_to_country">' . $this->pi_getLL('deliver_in') . '<label>' . $deliver_to_sb . '</div>
			<div class="shipping_deliver_by"></div>
		</div>
		';
    }
    // custom hook that can be controlled by third-party plugin
    if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/multishop/scripts/front_pages/shopping_cart/default.php']['shoppingCartPagePostHook'])) {
        $params = array('template' => $template, 'subpartArray' => &$subpartArray, 'cart' => &$cart);
        foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/multishop/scripts/front_pages/shopping_cart/default.php']['shoppingCartPagePostHook'] as $funcRef) {
            \TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction($funcRef, $params, $this);
        }
    }
    // completed the template expansion by replacing the "item" marker in the template
    $content .= $this->cObj->substituteMarkerArrayCached($subparts['template'], array(), $subpartArray);
} else {
    $content .= '<div class="noitems_message">' . $this->pi_getLL('there_are_no_products_in_your_cart') . '</div>';
    $content .= '
	<div id="bottom-navigation"><a href="' . mslib_fe::typolink($this->shop_pid) . '" class="msFrontButton continueState arrowRight arrowPosLeft proceed_to_shop"><span>' . $this->pi_getLL('go_to_catalog') . '</span></a>
		<div class="cart"></div>
	</div>';
}
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:default.php

示例10: die

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$content .= '
<form action="index.php" method="get" name="products_searchform" id="multishop_products_searchform">
<input name="id" type="hidden" value="' . $this->conf['search_page_pid'] . '" />
<input name="tx_multishop_pi1[page_section]" type="hidden" value="products_search" />

<div class="form-fieldset">
<select name="manufacturers_id" id="manufacturers_dropdown_menu"><option value="">' . htmlspecialchars($this->pi_getLL('manufacturers')) . '</option>
';
$str = "SELECT * from tx_multishop_manufacturers m, tx_multishop_manufacturers_info mi where m.manufacturers_id=mi.manufacturers_id and m.status=1 order by m.sort_order,m.manufacturers_name";
$qry = $GLOBALS['TYPO3_DB']->sql_query($str);
$manufacturers = array();
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($qry)) {
    $manufacturers[] = $row;
}
if (count($manufacturers) > 0) {
    foreach ($manufacturers as $manufacturer) {
        $link = $this->FULL_HTTP_URL . mslib_fe::typolink($this->shop_pid, 'tx_multishop_pi1[page_section]=manufacturers_products_listing&manufacturers_id=' . $manufacturer['manufacturers_id']);
        $content .= '<option value="' . $link . '"' . ($this->get['manufacturers_id'] == $manufacturer['manufacturers_id'] ? ' selected' : '') . '>' . htmlspecialchars($manufacturer['manufacturers_name']) . '</option>' . "\n";
    }
}
$content .= '</select>
</div>
</form>
<script>
	jQuery("#manufacturers_dropdown_menu").change(function() {
		window.location = jQuery(this).val();
	});						
</script>';
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:manufacturers_dropdown_menu.php

示例11: while

			<th valign="top">Product</td>
		</tr>
		</thead><tbody>
	';
    while (($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($qry)) != false) {
        if ($row['categories_id']) {
            // get all cats to generate multilevel fake url
            $level = 0;
            $cats = mslib_fe::Crumbar($row['categories_id']);
            $cats = array_reverse($cats);
            $where = '';
            if (count($cats) > 0) {
                foreach ($cats as $cat) {
                    $where .= "categories_id[" . $level . "]=" . $cat['id'] . "&";
                    $level++;
                }
                $where = substr($where, 0, strlen($where) - 1);
            }
            // get all cats to generate multilevel fake url eof
            $productLink = mslib_fe::typolink($this->conf['products_detail_page_pid'], '&' . $where . '&products_id=' . $row['products_id'] . '&tx_multishop_pi1[page_section]=products_detail');
        } else {
            $productLink = '';
        }
        $content .= '<tr>';
        $content .= '<td class="text-right">' . number_format(round($row['total'], 1), 0, '', '.') . '</td>';
        $content .= '<td><a href="' . $productLink . '" target="_blank">' . htmlspecialchars($row['products_name']) . '</a></td>';
        $content .= '</tr>';
    }
    $content .= '</tbody></table>';
}
$content = '<div class="panel panel-default"><div class="panel-body">' . mslib_fe::shadowBox($content) . '</div></div>';
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:stats_per_year.php

示例12: substr

    $prod['Title'] = '<div class="ajax_products_name">' . substr($product['products_name'], 0, 50) . '</div><div class="ajax_products_model">' . substr($product['products_model'], 0, 50) . '</div>';
    $prod['Title'] = $prod['Title'];
    $prod['Desc'] = '<div class="ajax_products_shortdescription">' . addslashes(mslib_befe::str_highlight(substr($product['products_shortdescription'], 0, 75), $this->get['q'])) . '</div>';
    if ($product['products_price'] != $product['final_price']) {
        $prod['Price'] = '<div class="ajax_products_price"><div class="ajax_old_price">' . mslib_fe::amount2Cents($product['products_price']) . '</div><div class="ajax_specials_price">' . mslib_fe::amount2Cents($product['final_price']) . '</div></div>';
    } else {
        $prod['Price'] = '<div class="ajax_products_price"><div class="ajax_normal_price">' . mslib_fe::amount2Cents($product['products_price']) . '</div></div>';
    }
    $prod['Name'] = substr($product['products_name'], 0, 50);
    $prod['skeyword'] = $this->get['q'];
    $prod['Page'] = $pages;
    $prod['Product'] = true;
    $data[] = $prod;
}
if (isset($this->get['page'])) {
    if ($totpage > 1) {
        //echo $totpage;
        if ($pages != $totpage) {
            $prod = array();
            $prod['Name'] = $this->pi_getLL('more_results');
            $prod['Title'] = '<span id="more-results">' . htmlspecialchars($this->pi_getLL('more_results')) . ' >></span>';
            $prod['Link'] = mslib_fe::typolink($this->shop_pid, 'tx_multishop_pi1[page_section]=products_search&skeyword=' . urlencode($this->get['q']));
            $prod['skeyword'] = $this->get['q'];
            $prod['Page'] = $pages;
            $prod['Product'] = false;
            $data[] = $prod;
        }
    }
}
$content = array("products" => $data);
//print_r($alldata);
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:default_with_products_model.php

示例13: urlencode

                    $tmp_pagination .= '<li><a alt="' . urlencode($this->get['q']) . '" tabindex="-1" class="ajax_link pagination_button ui-corner-all" href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'tx_multishop_pi1[page_section]=admin_search&page=' . ($x - 1) . '&ms_admin_skeyword=' . urlencode($this->get['q'])) . '">' . $x . '</a></li>';
                }
            }
            $tmp_pagination .= '</ul>
			</li>';
            $tmp_pagination .= '<li class="pagenav_next">';
            if ($this->get['page'] < $global_max_page - 1) {
                $tmp_pagination .= '<a alt="' . urlencode($this->get['q']) . '" tabindex="-1" class="pagination_button msBackendButton continueState arrowRight arrowPosLeft ui-corner-all" href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'tx_multishop_pi1[page_section]=admin_search&page=' . ($this->get['page'] + 1) . '&ms_admin_skeyword=' . urlencode($this->get['q'])) . '"><span>' . $this->pi_getLL('next') . '</span></a>';
            } else {
                $tmp_pagination .= '<span class="pagination_button msBackendButton continueState arrowRight arrowPosLeft disabled"><span>' . $this->pi_getLL('next') . '</span></span>';
            }
            $tmp_pagination .= '</li>';
            $tmp_pagination .= '<li class="pagenav_last">';
            if ($this->get['page'] < $global_max_page - 1) {
                $lastpage = $global_max_page - 1;
                $tmp_pagination .= '<a alt="' . urlencode($this->get['q']) . '" tabindex="-1" class="pagination_button msBackendButton continueState arrowRight arrowPosLeft ui-corner-all" href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'tx_multishop_pi1[page_section]=admin_search&page=' . $lastpage . '&ms_admin_skeyword=' . urlencode($this->get['q'])) . '"><span>' . $this->pi_getLL('last') . '</span></a>';
            } else {
                $tmp_pagination .= '<span class="pagination_button msBackendButton continueState arrowRight arrowPosLeft disabled"><span>' . $this->pi_getLL('last') . '</span></span>';
            }
            $tmp_pagination .= '</li>';
            $tmp_pagination .= '</ul>
			</div>';
        }
        // eol pagination
        if ($have_paging) {
            $tmp_listing .= '<li class="ui-menu-item" role="menuitem">' . $tmp_pagination . '</li>';
        } else {
            $prod = array();
            if ($results_counter > 0) {
                $tmp_listing .= '<li class="ui-menu-item" role="menuitem">' . $tmp_pagination . '</li>';
            } else {
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:admin_search.php

示例14: implode

    $subpartArray['###JS_FUNCTIONS_EXTRA###'] = implode("\n", $js_extra['functions']);
}
if (!count($js_extra['triggers'])) {
    $subpartArray['###JS_TRIGGERS_EXTRA###'] = '';
} else {
    $subpartArray['###JS_TRIGGERS_EXTRA###'] = implode("\n", $js_extra['triggers']);
}
$subpartArray['###LABEL_BACK_TO_CATALOG###'] = $this->pi_getLL('admin_close_and_go_back_to_catalog');
$subpartArray['###BACK_TO_CATALOG_LINK###'] = mslib_fe::typolink();
$head = '';
$head .= '
<script type="text/javascript">
jQuery(document).ready(function($) {
	var usersSearchList=[];
	var usersList=[];
	var ajax_url="' . mslib_fe::typolink($this->shop_pid . ',2002', '&tx_multishop_pi1[page_section]=get_users') . '"
	$("#userIdSelect2").select2({
		placeholder: "' . $this->pi_getLL('select_members') . '",
		multiple: true,
		minimumInputLength: 0,
		query: function(query) {
			if (usersSearchList[query.term] !== undefined) {
				query.callback({results: usersSearchList[query.term]});
			} else {
				$.ajax(ajax_url, {
					data: {
						q: query.term
					},
					dataType: "json"
				}).done(function(data) {
					usersSearchList[query.term]=data;
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:admin_edit_customer_group.php

示例15: die

		$res = $GLOBALS['TYPO3_DB']->sql_query($query3);
		$counter++;
	}
}
die();
*/
$navItems = array();
$navItems['categories'] = $this->pi_getLL('categories');
$navItems['products'] = $this->pi_getLL('products');
$navItems['products_attributes'] = $this->pi_getLL('admin_label_products_attributes');
$navItems['manufacturers'] = $this->pi_getLL('manufacturers');
$navItems['orders'] = $this->pi_getLL('orders');
$navItems['everything'] = $this->pi_getLL('admin_label_everything');
$content .= '<div class="panel panel-default"><div class="panel-heading"><h3>' . $this->pi_getLL('admin_label_clear_database') . '</h3></div>
<div class="panel-body">
<form action="' . mslib_fe::typolink($this->shop_pid . ',2003', 'tx_multishop_pi1[page_section]=admin_system_clear_database') . '" method="post" class="form-horizontal">
	<div class="form-group">
			<label class="control-label col-md-2">' . $this->pi_getLL('admin_label_items_to_delete') . '</label>
			<div class="col-md-10">
			';
foreach ($navItems as $key => $val) {
    $content .= '<div class="checkbox checkbox-success"><input name="tx_multishop_pi1[items][]" type="checkbox" id="' . $key . '" value="' . $key . '" /><label for="' . $key . '">' . $val . '</label></div>' . "\n";
}
$content .= '
			</div>
	</div>
	<hr>
	<div class="clearfix">
		<div class="pull-right">
			<button type="submit" id="submit" class="btn btn-success" value=""><i class="fa fa-save"></i> ' . $this->pi_getLL('delete') . '</button>
		</div>
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:admin_system_clear_database.php


注:本文中的mslib_fe::typolink方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。