예제 #1
0
if ($onsiteService && $onsiteService->isActive() && $onsiteService->supportsFeature(MM_PaymentServiceFeatures::CARD_ON_FILE)) {
    ?>
	<tr>
		<td colspan="2">
		<div style="width: 540px; margin-top: 5px; margin-bottom:4px;" class="mm-divider"></div>
		</td>
	</tr>
	<tr>
		<td>Purchase Confirmation Message<?php 
    echo MM_Utils::getInfoIcon("Enter a purchase confirmation message for this product. It will be displayed to the member when they click to purchase a product using a card on file.");
    ?>
</td> 
		<td>
			<div>
				<?php 
    echo MM_SmartTagLibraryView::smartTagLibraryButtons("purchase_confirmation_message");
    ?>
				<?php 
    $validSmartTags = "Only the following SmartTags can be used here:\n";
    $validSmartTags .= "[MM_Access_Decision] (you must provide an ID)\n";
    $validSmartTags .= "[MM_Content_Data] (you must provide an ID)\n";
    $validSmartTags .= "[MM_Content_Link] (you must provide an ID)\n";
    $validSmartTags .= "[MM_CorePage_Link]\n";
    $validSmartTags .= "[MM_CustomField_Data]\n";
    $validSmartTags .= "[MM_Employee_Data]\n";
    $validSmartTags .= "[MM_Form] (1clickPurchase type only)\n";
    $validSmartTags .= "[MM_Member_Data]\n";
    $validSmartTags .= "[MM_Member_Decision]\n";
    $validSmartTags .= "[MM_Member_Link]\n";
    $validSmartTags .= "[MM_Purchase_Link]";
    ?>
예제 #2
0
?>
<form name='configure_site_text' method='post' >
<div class="mm-wrap">
    <span class="mm-section-header">Forgot Password Email</span>
	<div id="mm-form-container" style="margin-top: 10px; margin-bottom: 15px;">	
		<div style="margin-top:5px">
			Subject*
			<input name="mm-forgot-password-email-subject" type="text" style="width:454px; font-family:courier; font-size: 11px;" value="<?php 
echo $forgotPasswordEmail->subject;
?>
"/>
		</div>
		
		<div style="margin-top:5px">
			Body* <?php 
echo MM_SmartTagLibraryView::smartTagLibraryButtons("mm-forgot-password-email-body");
?>
			<?php 
$validSmartTags = "Only the following SmartTags can be used here:\n";
$validSmartTags .= "[MM_Access_Decision] (you must provide an ID)\n";
$validSmartTags .= "[MM_Content_Data] (you must provide an ID)\n";
$validSmartTags .= "[MM_Content_Link] (you must provide an ID)\n";
$validSmartTags .= "[MM_CorePage_Link]\n";
$validSmartTags .= "[MM_CustomField_Data]\n";
$validSmartTags .= "[MM_Employee_Data]\n";
$validSmartTags .= "[MM_Member_Data]\n";
$validSmartTags .= "[MM_Member_Decision]\n";
$validSmartTags .= "[MM_Member_Link]\n";
$validSmartTags .= "[MM_Purchase_Link]";
?>
			<span style="font-size:11px; color:#666666; margin-left: 5px;"><em>Note: Only certain SmartTags can be used here</em></span>
예제 #3
0
echo $employeesUrl;
?>
" style="font-size:10px" target="_blank">add employees</a>
					</div>
				
					<div style="margin-top:5px">
						Subject*
						<input id="mm-email-subject" type="text" style="width:368px; font-family:courier; font-size: 11px;" value="<?php 
echo $membership->getEmailSubject();
?>
"/>
					</div>
					
					<div style="margin-top:5px">
						Body* <?php 
echo MM_SmartTagLibraryView::smartTagLibraryButtons("mm-email-body");
?>
						<?php 
$validSmartTags = "Only the following SmartTags can be used here:\n";
$validSmartTags .= "[MM_Access_Decision] (you must provide an ID)\n";
$validSmartTags .= "[MM_Content_Data] (you must provide an ID)\n";
$validSmartTags .= "[MM_Content_Link] (you must provide an ID)\n";
$validSmartTags .= "[MM_CorePage_Link]\n";
$validSmartTags .= "[MM_CustomField_Data]\n";
$validSmartTags .= "[MM_Employee_Data]\n";
$validSmartTags .= "[MM_Member_Data]\n";
$validSmartTags .= "[MM_Member_Decision]\n";
$validSmartTags .= "[MM_Member_Link]\n";
$validSmartTags .= "[MM_Purchase_Link]";
?>
						<span style="font-size:11px; color:#666666; margin-left: 5px;"><em>Note: Only certain SmartTags can be used here</em></span>
예제 #4
0
<?php

/**
 *
 * MemberMouse(TM) (http://www.membermouse.com)
 * (c) MemberMouse, LLC. All rights reserved.
 */
$view = new MM_SmartTagLibraryView();
$items = $view->getSmartTags();
?>
<div style="width:170px; height:100%; overflow:auto; float:left;">
<?php 
foreach ($items as $item) {
    echo $item->generateHtml();
}
?>
</div>
<div style="height:100%; width:1px; border-right: 1px dotted #C1C1C1; float: left;"></div>
<div id="mm-smarttag-documentation" style="width:570px; height:100%; padding-left: 10px; padding-right: 10px; font-size: 11px; float:left; overflow:auto;">
<i>Select a tag from the list on the left</i>
</div>
예제 #5
0
<?php

/**
 * 
 * MemberMouse(TM) (http://www.membermouse.com)
 * (c) MemberMouse, LLC. All rights reserved.
 */
$view = new MM_SmartTagLibraryView();
$dataGrid = new MM_DataGrid($_REQUEST, "name", "asc", 10);
$data = $view->getLookupData($p->objectType, $dataGrid);
$dataGrid->showPagingControls = false;
switch ($p->objectType) {
    case MM_TYPE_POST:
        $dataGrid->recordName = "protected post";
        break;
    case MM_TYPE_BUNDLE:
        $dataGrid->recordName = "bundle";
        break;
    case MM_TYPE_MEMBERSHIP_LEVEL:
        $dataGrid->recordName = "membership level";
        break;
    case MM_TYPE_EMPLOYEE_ACCOUNT:
        $dataGrid->recordName = "employee";
        break;
    case MM_TYPE_PRODUCT:
        $dataGrid->recordName = "product";
        break;
    case MM_TYPE_CUSTOM_FIELD:
        $dataGrid->recordName = "custom field";
        break;
}