예제 #1
0
파일: taxes.php 프로젝트: forthrobot/inuvik
?>
			<div class="conditionals no-conditions">
				<p><label><?php 
printf(__('Apply tax rate when %s of the following conditions match', 'Shopp'), $menu);
?>
:</label></p>
				<ul>
				${conditions}
				</ul>
			</div>
		</td>
			<td>
				<div class="local-rates panel subpanel no-local-rates">
					<div class="label"><label><?php 
_e('Local Rates', 'Shopp');
echo ShoppAdminMetabox::help('settings-taxes-localrates');
?>
 <span class="counter"></span><input type="hidden" name="settings[taxrates][${id}][haslocals]" value="${haslocals}" class="has-locals" /></label></div>
					<div class="ui">
						<p class="instructions"><?php 
Shopp::_e('No local regions have been setup for this location. Local regions can be specified by uploading a formatted local rates file.');
?>
</p>
						${errors}
						<ul>${localrates}</ul>
						<div class="upload">
							<h3><?php 
Shopp::_e('Upload Local Tax Rates');
?>
</h3>
							<input type="hidden" name="MAX_FILE_SIZE" value="1048576" />
예제 #2
0
    echo ' checked="checked"';
}
?>
 /><label for="variations-setting"> <?php 
_e('Variants', 'Shopp');
echo ShoppAdminMetabox::help('product-editor-variations');
?>
</label></p>
<p><input type="hidden" name="addons" value="off" /><input type="checkbox" name="addons" value="on" id="addons-setting" tabindex="13"<?php 
if ($Product->addons == "on") {
    echo ' checked="checked"';
}
?>
 /><label for="addons-setting"> <?php 
_e('Add-ons', 'Shopp');
echo ShoppAdminMetabox::help('product-editor-addons');
?>
</label></p>

<?php 
if (shopp_setting_enabled('tax_inclusive')) {
    ?>
	<p><input type="hidden" name="meta[excludetax]" value="off" /><input type="checkbox" name="meta[excludetax]" value="on" id="excludetax-setting" tabindex="18"  <?php 
    if (isset($Product->meta['excludetax']) && Shopp::str_true($Product->meta['excludetax']->value)) {
        echo 'checked="checked"';
    }
    ?>
 /> <label for="excludetax-setting"><?php 
    _e('Exclude Taxes', 'Shopp');
    ?>
</label></p>