the-art-of-joomla-archive /exchange/code/trunk/administrator/components/com_exchange/views/export/tmpl/default.php

Language PHP Lines 157
MD5 Hash e6bd86a787315b787af9d88b71387a8b Estimated Cost $896 (why?)
Repository https://bitbucket.org/eddieajau/the-art-of-joomla-archive View Raw File View Project SPDX
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?php
/**
 * @version		$Id: default.php 280 2010-09-18 02:14:15Z eddieajau $
 * @package		NewLifeInIT
 * @subpackage	com_exchange
 * @copyright	Copyright 2005 - 2010 New Life in IT Pty Ltd. All rights reserved.
 * @license		GNU General Public License version 2 or later.
 * @link		http://www.theartofjoomla.com
 */

// no direct access
defined('_JEXEC') or die;

	JHTML::_('behavior.tooltip');
 	JHTML::script('checkall.js', 'administrator/components/com_exchange/media/js/');
 	JHTML::stylesheet('export.css', 'administrator/components/com_exchange/media/css/');
?>

<form action="<?php echo JRoute::_('index.php?option=com_exchange');?>" method="post" name="adminForm">
	<fieldset>
		<legend><?php echo JText::_('JX Export Options'); ?></legend>

		<table width="100%">
		<tr>
			<td width="250" valign="top">
				<fieldset>
					<legend><?php echo JText::_('JX Select Table(s)'); ?></legend>

					<div class="framed" style="width:250px;height:450px;">
						<table class="adminlist" style="width:225px">
							<thead>
								<tr>
									<td colspan="2">
										<input type="checkbox" name="toggle" value="" onclick="checkAll(this, 'tables')" />
										<strong>
											<?php echo JText::_('JX Select All'); ?>
										</strong>
									</td>
								</tr>
							</thead>
							<tbody>
								<?php
								$k = 0;
								foreach ($this->tables as $table) :
								?>
								<tr class="row<?php echo $k;?>">
									<td>
										<input type="checkbox" name="tables[]" id="table_<?php echo $table;?>" value="<?php echo $table;?>"  onclick="isChecked(this);" />
									</td>
									<td>
										<label for="table_<?php echo $table;?>"><?php echo $table;?></label>
									</td>
								</tr>
								<?php
								$k = 1 - $k;
								endforeach;
								?>
							</tbody>
						</table>
					</div>
				</fieldset>
			</td>
			<td valign="top">
				<fieldset class="options">
					<legend><?php echo JText::_('JX Export Source'); ?></legend>
					<div>
						<input id="options_source_s" type="radio" checked="checked" name="options[source]" value="s" />
						<label for="options_source_s">
							<?php echo JText::_('JX Export Structure Only'); ?>
						</label>

						<input id="options_source_d" type="radio" name="options[source]" value="d" />
						<label for="options_source_d">
							<?php echo JText::_('JX Export Data Only'); ?>
						</label>

						<input id="options_source_sd" type="radio" name="options[source]" value="sd" />
						<label for="options_source_sd">
							<?php echo JText::_('JX Export Both'); ?>
						</label>
					</div>

					<div>
						<label for="options_limit">
							<?php echo JText::_('JX Export Limit'); ?>
						</label>
						<input id="options_limit" type="text" name="options[limit]" value="0" size="6" />

						<label for="options_limitstart">
							<?php echo JText::_('JX Export Limit Start'); ?>
						</label>
						<input id="options_limitstart" type="text" name="options[limitstart]" value="0" size="6" title="The record offset" />
					</div>
				</fieldset>

				<fieldset class="options">
					<legend><?php echo JText::_('JX Export Format'); ?></legend>
					<div>
					<?php foreach ($this->adapters as $adapter => $meta) : ?>
						<input type="radio" id="options_format_<?php echo $adapter;?>" name="options[format]" value="<?php echo $adapter;?>">
						<label for="options_format_<?php echo $adapter;?>">
						<?php if ($meta) : ?>
							<span class="hasTip" title="<?php echo $meta->name;?>::<?php echo $meta->description; ?>">
								<?php echo $meta->name;?></span>
						<?php else : ?>
							<?php echo $adapter;?>
						<?php endif; ?></label>


					<? endforeach; ?>
					</div>
				</fieldset>

				<fieldset class="options">
					<legend><?php echo JText::_('JX Export Output'); ?></legend>

					<div>
						<input id="options_output_screen" type="radio" checked="checked" name="options[output]" value="screen" />
						<label for="options_output_screen">
							<?php echo JText::_('JX Export Screen'); ?>
						</label>

						<input id="options_output_html" type="radio" checked="checked" name="options[output]" value="html" />
						<label for="options_output_html">
							<?php echo JText::_('JX Export HTML'); ?>
						</label>

						<input id="options_output_text" type="radio" name="options[output]" value="text" />
						<label for="options_output_text">
							<?php echo JText::_('JX Export Text'); ?>
						</label>

						<input id="options_output_tar" type="radio" name="options[output]" value="tar" />
						<label for="options_output_tar">
							<?php echo JText::_('JX Export TAR'); ?>
						</label>

						<input id="options_output_gz" type="radio" name="options[output]" value="gz" />
						<label for="options_output_gz">
							<?php echo JText::_('JX Export GZIP'); ?>
						</label>
					</div>
				</fieldset>

				<fieldset class="options">
					<legend><?php echo JText::_('JX Export Comment'); ?></legend>
					<textarea name="options[comment]" rows="5" cols="40"></textarea>
				</fieldset>
			</td>
		</tr>
		</table>
	</fieldset>

	<input type="hidden" name="task" value="" />
	<input type="hidden" name="boxchecked" value="0" />
</form>
Back to Top