コード例 #1
0
function event_espresso_member_only_pricing($event_id = 'NULL')
{
    global $espresso_premium;
    if ($espresso_premium != true) {
        return;
    }
    ?>
    <fieldset id="members-pricing">
        <legend><?php 
    _e('Member Pricing', 'event_espresso');
    ?>
</legend>
        <?php 
    if ($event_id == 0) {
        event_espresso_member_pricing_new();
    } else {
        event_espresso_member_pricing_update($event_id);
    }
    ?>
        <p><input class="button" type="button" value="<?php 
    _e('Add A Member Price', 'event_espresso');
    ?>
" onclick="addMemberPriceInput('dynamicMemberPriceInput');"></p>
    </fieldset>
    </td>
    <?php 
}
コード例 #2
0
function event_espresso_member_only_pricing($event_id = 'NULL')
{
    global $espresso_premium;
    if ($espresso_premium != true) {
        return;
    }
    ?>
  <p><strong><?php 
    _e('Member Pricing', 'event_espresso');
    ?>
</strong></p>
  <?php 
    if ($event_id == 0) {
        event_espresso_member_pricing_new();
    } else {
        event_espresso_member_pricing_update($event_id);
    }
    ?>
    <p><input type="button" value="<?php 
    _e('Add A Member Price', 'event_espresso');
    ?>
" onClick="addMemberPriceInput('dynamicMemberPriceInput');"></p></td>    
<?php 
}
コード例 #3
0
ファイル: member_functions.php プロジェクト: sriram911/pls
function event_espresso_member_only_pricing($event_id = 'NULL')
{
    do_action('action_hook_espresso_log', __FILE__, __FUNCTION__, '');
    global $espresso_premium;
    if ($espresso_premium != true) {
        return;
    }
    ?>
	<fieldset id="members-pricing">
		<legend><?php 
    _e('Member Pricing', 'event_espresso');
    ?>
</legend>
		<?php 
    if ($event_id == 0) {
        event_espresso_member_pricing_new();
    } else {
        event_espresso_member_pricing_update($event_id);
    }
    ?>
		<p><input class="button" type="button" value="<?php 
    _e('Add A Member Price', 'event_espresso');
    ?>
" onclick="addMemberPriceInput('dynamicMemberPriceInput');"></p>
	</fieldset>
	<!--</td> <<<---  REMOVED FROM member_functions.php line 254 becuase there was no opening td tag-->
	<?php 
}