XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
images_uploadimages.php
Go to the documentation of this file.
1 <?php if(!$isupdate): ?>
2 <h1 class="rmc_titles"><?php _e('Upload Images','rmcommon'); ?></h1>
3 <div class="select_image_cat">
4  <form name="frmcat" method="get" action="images.php">
5  <?php _e('Select Category:','rmcommon'); ?> &nbsp;
6  <select name="category">
7  <option value=""><?php _e('Select...','rmcommon'); ?></option>
8  <?php foreach($categories as $category): ?>
9  <option value="<?php echo $category['id']; ?>"<?php echo $cat->id()==$category['id'] ? ' selected="selected"' : '' ?>><?php echo $category['name']; ?></option>
10  <?php endforeach; ?>
11  </select>
12  <input type="submit" value="<?php _e('Change Category','rmcommon'); ?>" />
13  <input type="button" value="<?php _e('Cancel','rmcommon'); ?>" onclick="window.location= 'images.php?action=showcats';" />
14  <input type="hidden" name="action" value="new" />
15  </form>
16 </div>
17 <?php if (!$cat->isNew()): ?>
18 <div id="upload-controls">
19  <input type="button" class="formButton imgcontrols" style="margin-right: 5px;" onclick="$('#files-container').uploadifyUpload();" value="<?php _e('Upload','rmcommon'); ?>" />
20  <input type="button" class="imgcontrols" style="margin-right: 5px;" onclick="$('#files-container').uploadifyClearQueue(); $('#upload-errors').html('');" value="<?php _e('Clear All','rmcommon'); ?>" />
21  <div id="upload-errors">
22 
23  </div>
24  <div id="files-container">
25 
26  </div>
27 </div>
28 <?php endif; ?>
29 <?php endif; ?>
30 <div id="resizer-bar">
31 <span class="message"></span>
32 <strong><?php _e('Resizing images','rmcommon'); ?></strong>
33 <div class="thebar">
34 <div class="indicator" id="bar-indicator">0</div>
35 </div>
36 <span><?php _e('Please, do not close the window until resizing process has finished!','rmcommon'); ?></span>
37  <div class="donebutton">
38  <?php if(!$isupdate): ?><input type="button" class="donebutton" value="<?php _e('Done! Click to continue...','rmcommon'); ?>" onclick="imgcontinue();" /><?php endif; ?>
39  <input type="button" class="" value="<?php _e('Done! Show images...','rmcommon'); ?>" onclick="window.location = 'images.php?category=<?php echo $cat->id(); ?>';" />
40  </div>
41 </div>
42 <div id="gen-thumbnails"></div>
43