XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
rmc_updates.php
Go to the documentation of this file.
1 <h1 class="rmc_titles"><?php _e('Available Updates','rmcommon'); ?></h1>
2 
3 <div class="row-fluid" style="margin-bottom: 10px;">
4  <div class="span8">
5  <button type="button" class="btn btn-inverse" id="refresh-updates"><i class="icon-refresh icon-white"></i> <?php _e('Check for Updates','rmcommon'); ?></button>
6  <button type="button" class="btn btn-info" id="upds-ftp"><i class="icon-upload"></i> <?php _e('FTP Settings','rmcommon'); ?></button>
7  </div>
8  <div class="span4 rm-comprobation-legend text-success" align="right">
9  <?php echo sprintf(__('Last comprobation: %s','rmcommon'), '<strong>'.$tf->format($updates['date']).'</strong>'); ?>
10  </div>
11 </div>
12 
13 <div id="ftp-settings">
14  <form class="form-inline" id="ftp-form">
15  <div class="input-prepend">
16  <span class="add-on"><?php _e('Server:','rmcommon'); ?></span>
17  <input type="text" class="input input-small" name="ftp_server" id="ftp-server" value="<?php echo $ftpserver; ?>" />
18  </div>
19  <div class="input-prepend">
20  <span class="add-on"><?php _e('Port:','rmcommon'); ?></span>
21  <input type="text" class="input input-small" name="ftp_port" id="ftp-port" value="21" />
22  </div>
23  <div class="input-prepend">
24  <span class="add-on"><?php _e('User:','rmcommon'); ?></span>
25  <input type="text" class="input input-small" name="ftp_user" id="ftp-user" value="" />
26  </div>
27  <div class="input-prepend">
28  <span class="add-on"><?php _e('Password:','rmcommon'); ?></span>
29  <input type="password" class="input input-small" name="ftp_pass" id="ftp-pass" value="" />
30  </div>
31  <div class="input-prepend">
32  <span class="add-on"><?php _e('XOOPS Directory:','rmcommon'); ?></span>
33  <input type="text" class="input input-small" name="ftp_dir" id="ftp-dir" value="<?php echo $ftpdir; ?>" />
34  </div>
35  <button type="button" class="btn btn-primary"><?php _e('Save','rmcommon'); ?></button>
36  </form>
37  <p>
38  <?php _e('XOOPS directory must match with this XOOPS installation, but only the relative patch to server root.','rmcommon'); ?>
39  </p>
40 </div>
41 
42 
43 <div class="alert alert-info alert-block">
44  <h4><?php _e('Notice','rmcommon'); ?></h4>
45  <p><?php _e('Before to install updates be sure that target folders have writting permissions for web server. If you wish, you can configure the internal FTP Client in order to update without assign writting permissions.','rmcommon'); ?></p>
46 </div>
47 
48 <span class="rm-loading text text-info"><?php _e('Searching for updates...','rmcommon'); ?></span>
49 <div id="rmc-updates">
50 
51 </div>
52 
53 <div id="upd-info-blocker"></div>
54 <div id="upd-info">
55  <div class="xo-bluebar title window">
56  <button type="button" class="close" onclick="$('#upd-info-blocker').click();">&times;</button>
57  <?php _e('Update Details','rmcommon'); ?>
58  </div>
59  <ul class="nav nav-tabs">
60  <li class="active"><a href="#details" data-toggle="tab"><?php _e('Details','rmcommon'); ?></a></li>
61  <li><a href="#files" data-toggle="tab"><?php _e('Files','rmcommon'); ?></a></li>
62  </ul>
63  <div class="tab-content tab-container">
64  <div class="tab-item tab-pane fade active in" id="details">
65 
66  </div>
67  <div class="tab-item tab-pane fade" id="files">
68 
69  </div>
70  </div>
71 </div>
72 
73 <div id="upd-warning">
74  <h4></h4>
75  <p></p>
76  <hr>
77  <div class="pull-right">
78  <button type="button" class="btn cancel-warning"><?php _e('Cancel','rmcommon'); ?></button>
79  <button type="button" class="btn btn-primary continue-update"><?php _e('Continue &raquo;','rmcommon'); ?></button>
80  </div>
81 </div>
82 
83 <div id="login-blocker"></div>
84 <div id="upd-login" data-next="">
85  <div class="title xo-bluebar">
86  <button class="close" type="button">&times;</button>
87  <i class="icon-user icon-white"></i> <?php _e('User Credentials','rmcommon'); ?>
88  </div>
89  <div class=" controls">
90  <p><?php _e('Please provide your login credentials for site %site%.','rmcommon'); ?></p>
91  <input type="text" name="uname" id="uname" value="" class="input-block-level" placeholder="<?php _e('Username','rmcommon'); ?>" />
92  <input type="password" name="uname" id="upass" value="" class="input-block-level" placeholder="<?php _e('Password','rmcommon'); ?>" />
93  <button type="button" class="btn btn-primary ok-login"><?php _e('Login','rmcommon'); ?></button>
94  <button type="button" class="btn cancel-login"><?php _e('Cancel','rmcommon'); ?></button>
95  </div>
96 </div>
97 
98 <div id="files-blocker"></div>
99 <div id="upd-run">
100  <div class="title xo-bluebar">
101  <button class="close" type="button">&times;</button>
102  <?php _e('Executing Files...','rmcommon'); ?>
103  </div>
104  <iframe border="0"></iframe>
105 </div>