1
2
3        <?php $this->helper->tplSaveButton() ?>
4    </form>
5
6    <?php $helper = plugin_load('helper', 'confmanager'); ?>
7    <div class="popup_mask"></div>
8    <div class="popup">
9		<h3 class="popupheader">File Upload</h3>
10		<div class="popupcontent" id="popup_select_file">
11			<form id="fileuploadform" enctype="multipart/form-data" method="POST" action="<?php echo DOKU_BASE.'lib/exe/ajax.php' ?>">
12				<div class="popupprompt"><?php echo $helper->getLang('file_upload_prompt') ?></div>
13				<input type="file" name="icon" id="file_upload_input" />
14				<br/>
15				<br/>
16				<input type="submit" class="button saveButton right" value="<?php echo $helper->getLang('upload') ?>" />
17				<span class="right spacer"></span>
18				<input id="popup_cancel" type="submit" class="right"  value="<?php echo $helper->getLang('cancel') ?>" />
19				<input type="hidden" name="call" value="confmanager_upload" />
20				<input type="hidden" name="configId" id="configIdParam" />
21				<input type="hidden" name="key" id="keyParam" />
22                <input type="hidden" name="value" id="valueParam" />
23            </form>
24		</div>
25		<div class="popupcontent" id="popup_show_progress" >
26			<p><?php echo $helper->getLang('uploading') ?></p>
27			<div class="progress">
28		        <div class="bar"></div>
29		        <div class="percent">0%</div>
30	        </div>
31        </div>
32        <div class="popupcontent" id="popup_success">
33        	<h3><?php echo $helper->getLang('upload_success') ?></h3>
34        	<a class="button continue right"><?php echo $helper->getLang('continue') ?></a>
35        </div>
36        <div class="popupcontent" id="popup_error">
37        	<h3><?php echo $helper->getLang('upload_error') ?></h3>
38        	<a class="button continue right"><?php echo $helper->getLang('continue') ?></a>
39        </div>
40	</div>
41
42</div>
43