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


PHP mslib_fe::shadowBox方法代码示例

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


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

示例1: count

				jQuery("#flat_weight' . $valId . '").change(function(){
				jQuery.ajax({
					type: "POST",
					url: url_relatives,
					data: {zone:"' . count($zones) . '",based:jQuery(this).val(),shippingid:"' . $valId . '",basedold:jQuery("#based_old' . $valId . '").val()},
					success: function(data) {
						jQuery("#has' . $valId . '").html(data);
					}
				});
			});
		';
    }
    $content .= '
	$(document).on("keyup", ".msProductsPriceExcludingVat", function(e) {
		if (e.keyCode!=9) {
			priceEditRealtimeCalc(true, this);
		}
	});
	$(document).on("keyup", ".msProductsPriceIncludingVat", function(e) {
		if (e.keyCode!=9) {
			priceEditRealtimeCalc(false, this);
		}
	});
});
</script>';
} else {
    $content .= $this->pi_getLL('admin_label_currently_no_shipping_method_defined');
}
$content .= '<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></div></div>';
$content = '' . mslib_fe::shadowBox($content) . '';
开发者ID:bvbmedia,项目名称:multishop,代码行数:30,代码来源:admin_shipping_costs.php

示例2:

			<form action="' . mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=admin_customer_import&upload=task') . '" method="post" enctype="multipart/form-data" name="upload_task" id="upload_task" class="form-horizontal blockSubmitForm">
				<div class="form-group">
					<label for="new_cron_name" class="control-label col-md-2">' . $this->pi_getLL('name') . '</label>
					<div class="col-md-10">
					<input name="new_cron_name" type="text" value="" class="form-control" >
					</div>
				</div>
				<div class="form-group">
					<label for="new_prefix_source_name" class="control-label col-md-2">' . $this->pi_getLL('source_name') . '</label>
					<div class="col-md-10">
					<input name="new_prefix_source_name" type="text" value="" class="form-control" />
					</div>
				</div>
				<div class="form-group">
					<label for="upload_task_file" class="control-label col-md-2">' . $this->pi_getLL('file') . '</label>
					<div class="col-md-10">
					<input type="file" name="task_file" class="form-control">
					</div>
				</div>
				<div class="form-group">
					<div class="col-md-10 col-md-offset-2">
					<input type="submit" name="upload_task_file" class="submit btn btn-success" id="upload_task_file" value="upload">
					</div>
			</form>
			</div>
		</div></div>';
    }
}
$content .= '<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></div>';
$content = '<div class="panel panel-default">' . mslib_fe::shadowBox($content) . '</div>';
开发者ID:bvbmedia,项目名称:multishop,代码行数:30,代码来源:admin_customer_import.php

示例3: 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;
// Create category button
$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;
// 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
$interfaceHeaderButtons = $objRef->renderHeaderButtons();
// 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);
$content = $prepending_content . '<div class="fullwidth_div">' . mslib_fe::shadowBox($content) . '</div>';
$GLOBALS['TSFE']->additionalHeaderData[] = '<script type="text/javascript" data-ignore="1">
var product_tax_rate_js=[];
' . implode("\n", $product_tax_rate_js) . '
</script>
';
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:admin_products_search_and_edit.php

示例4:

		<div class="pull-right">
			<a href="' . mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=' . $this->ms['page'] . '&edit=1&zone_id=' . $zone['id']) . '" class="btn btn-primary btn-sm"><i class="fa fa-pencil"></i> ' . $this->pi_getLL('add_countries') . '</a>
			<a href="' . mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=' . $this->ms['page'] . '&delete=1&zone_id=' . $zone['id']) . '" class="btn btn-danger btn-sm"><i class="fa fa-save"></i> ' . $this->pi_getLL('delete_zone') . '</a>
			</div>
		</div>';
    }
    $content .= '</div></div>';
}
$content .= '
<div class="panel panel-default">
<div class="panel-heading"><h3>' . $this->pi_getLL('add_new_zone') . '</h3></div>
<div class="panel-body">
<form action="' . mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=' . $this->ms['page']) . '" method="post" class="form-horizontal">
<div class="form-group">
		<label for="" class="control-label col-md-2">' . $this->pi_getLL('name') . '</label>
		<div class="col-md-10">
			<div class="input-group">
			<input class="form-control" type="text" name="zone_name" id="zone_name" value="">
			<span class="input-group-btn">
			<input name="Submit" type="submit" value="' . $this->pi_getLL('save') . '" class="btn btn-success" />
			</span>
			</div>
		</div>
</div>
</form>
</div>
</div>
';
$content .= '<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></div></div>';
$content = '<div class="panel panel-default"><div class="panel-body">' . mslib_fe::shadowBox($content) . '';
开发者ID:bvbmedia,项目名称:multishop,代码行数:30,代码来源:admin_shipping_zones.php

示例5: foreach

    $content .= '<table width="100%" border="0" align="center" class="table table-striped table-bordered msadmin_border" id="admin_modules_listing">
	<tr>
		<th>ID</th>
		<th>Name</th>
		<th>Status</th>
		<th>Action</th>
	</tr>
	';
    foreach ($tax_rules as $tax_rule) {
        $content .= '
		<tr class="' . $tr_type . '">
			<td>
				<a href="' . mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=' . $this->ms['page'] . '&rule_id=' . $tax_rule['rule_id'] . '&edit=1') . '">' . $tax_rule['rule_id'] . '</a>
			</td>
			<td>
				<a href="' . mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=' . $this->ms['page'] . '&rule_id=' . $tax_rule['rule_id'] . '&edit=1') . '">' . $tax_rule['name'] . '</a>
			</td>
			<td>
				' . $tax_rule['status'] . '
			</td>			
			<td>
				<a href="' . mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=' . $this->ms['page'] . '&rule_id=' . $tax_rule['rule_id'] . '&delete=1') . '">delete</a>
			</td>
		</tr>
		';
    }
    $content .= '</table>';
}
$content .= '<p class="extra_padding_bottom"><a class="btn btn-success msAdminBackToCatalog" href="' . mslib_fe::typolink() . '">' . $this->pi_getLL('admin_close_and_go_back_to_catalog') . '</a></p>';
$content = '<div class="fullwidth_div">' . mslib_fe::shadowBox($content) . '</div>';
开发者ID:bvbmedia,项目名称:multishop,代码行数:30,代码来源:admin_tax_rules.php

示例6: ucfirst

			</form>
		</div>
        </div>
		';
}
$subpartArray['###LABEL_KEYWORD###'] = ucfirst($this->pi_getLL('keyword'));
$subpartArray['###VALUE_KEYWORD###'] = htmlspecialchars($this->get['tx_multishop_pi1']['keyword']);
$subpartArray['###LABEL_SEARCH###'] = $this->pi_getLL('search');
$subpartArray['###INPUT_LIMIT_RESULT_SELECTBOX###'] = $limit_search_result_selectbox;
$subpartArray['###RESULTS###'] = $results;
$subpartArray['###NORESULTS###'] = $no_results;
// 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->init($this);
$objRef->setInterfaceKey('admin_cms');
// Header buttons
$headerButtons = array();
$headingButton = array();
$headingButton['btn_class'] = 'btn btn-primary';
$headingButton['fa_class'] = 'fa fa-plus-circle';
$headingButton['title'] = $this->pi_getLL('add_new_page');
$headingButton['href'] = mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=edit_cms&action=edit_cms');
$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();
$subpartArray['###INTERFACE_TITLE###'] = 'CMS';
$content = $this->cObj->substituteMarkerArrayCached($subparts['template'], array(), $subpartArray);
$content = mslib_fe::shadowBox($content);
$content .= '<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></div></div></div></div>';
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:admin_cms.php

示例7: renderInterface


//.........这里部分代码省略.........
			';
                }
                $tmpcontent .= '
		<div class="form-group">
			<label for="cron_period" class="control-label col-md-2">' . $that->pi_getLL('schedule') . '</label>
			<div class="col-md-10">
				<select name="cron_period" id="cron_period" class="form-control">
				<option value="" ' . (!$that->post['cron_period'] ? 'selected' : '') . '>' . $that->pi_getLL('manual') . '</option>
				<option value="' . 3600 * 24 . '" ' . ($that->post['cron_period'] == 3600 * 24 ? 'selected' : '') . '>' . $that->pi_getLL('daily') . '</option>
				<option value="' . 3600 * 24 * 7 . '" ' . ($that->post['cron_period'] == 3600 * 24 * 7 ? 'selected' : '') . '>' . $that->pi_getLL('weekly') . '</option>
				<option value="' . 3600 * 24 * 30 . '" ' . ($that->post['cron_period'] == 3600 * 24 * 30 ? 'selected' : '') . '>' . $that->pi_getLL('monthly') . '</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label for="prefix_source_name" class="control-label col-md-2">' . $that->pi_getLL('source_name') . '</label>
			<div class="col-md-10">
				<input name="prefix_source_name" type="text" class="form-control" value="' . htmlspecialchars($that->post['prefix_source_name']) . '" />
			</div>
		</div>
		<input name="database_name" type="hidden" value="' . $that->post['database_name'] . '" />
		<input name="cron_data" type="hidden" value="' . htmlspecialchars(serialize($that->post)) . '" />
		<div class="form-group">
			<div class="col-md-10 col-md-offset-2">
				<button type="submit" class="btn btn-success submit_block" id="cl_submit" name="AdSubmit" value=""><i class="fa fa-save"></i> ' . ($that->get['action'] == 'edit_job' ? $that->pi_getLL('save') : $that->pi_getLL('import')) . '</button>
			</div>
		</div>
		</div>
		</div>

		</form>

		';
                $content = '' . mslib_fe::shadowBox($tmpcontent) . '';
                // $content='<div
                // class="fullwidth_div">'.mslib_fe::shadowBox($tmpcontent).'</div>';
            }
            // preview eof
        } elseif (is_numeric($that->get['job_id']) and $that->get['action'] == 'run_job' or $that->post['action'] == 'import' and ($that->post['filename'] and file_exists($that->DOCUMENT_ROOT . 'uploads/tx_multishop/tmp/' . $that->post['filename']) or $that->post['database_name'])) {
            if (!$that->post['preProcExistingTask'] and $that->post['cron_name'] and !$that->post['skip_import'] or $that->post['skip_import'] and $that->post['duplicate']) {
                // we have to save the import job
                $updateArray = array();
                $updateArray['name'] = $that->post['cron_name'];
                $updateArray['status'] = 1;
                $updateArray['last_run'] = time();
                $updateArray['code'] = md5(uniqid());
                $updateArray['period'] = $that->post['cron_period'];
                $updateArray['prefix_source_name'] = $that->post['prefix_source_name'];
                $cron_data = array();
                $cron_data[0] = unserialize($that->post['cron_period']);
                $that->post['cron_period'] = '';
                $cron_data[1] = $that->post;
                $updateArray['data'] = serialize($cron_data);
                $updateArray['page_uid'] = $that->shop_pid;
                $updateArray['categories_id'] = $that->post['cid'];
                $updateArray['type'] = $params['importKey'];
                $query = $GLOBALS['TYPO3_DB']->INSERTquery('tx_multishop_import_jobs', $updateArray);
                $res = $GLOBALS['TYPO3_DB']->sql_query($query);
                // we have to save the import job eof
                $that->ms['show_default_form'] = 1;
            } elseif ($that->post['skip_import']) {
                // we have to update the import job
                $updateArray = array();
                $updateArray['name'] = $that->post['cron_name'];
                $updateArray['status'] = 1;
                $updateArray['last_run'] = time();
开发者ID:bvbmedia,项目名称:multishop,代码行数:67,代码来源:class.tx_mslib_admin_import.php


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