Changeset 3186
- Timestamp:
- 06/25/12 09:59:29 (11 months ago)
- Location:
- alternc/trunk
- Files:
-
- 7 edited
-
bureau/admin/adm_dodel.php (modified) (2 diffs)
-
bureau/admin/browseforfolder.php (modified) (1 diff)
-
bureau/admin/sta2_add_raw.php (modified) (2 diffs)
-
bureau/admin/sta2_list.php (modified) (1 diff)
-
bureau/class/m_dom.php (modified) (1 diff)
-
bureau/class/m_sta2.php (modified) (1 diff)
-
src/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/adm_dodel.php
r2732 r3186 35 35 } 36 36 37 if( $_POST["del_confirm"] == "y"){37 if(isset($_POST["del_confirm"]) && $_POST["del_confirm"] == "y"){ 38 38 if (!is_array($d)) { 39 39 $d[]=$d; … … 47 47 } 48 48 if (!($u=$admin->get($val)) || !$admin->del_mem($val)) { 49 $error .=sprintf(_("Member '%s' does not exist"),$val)."<br />";49 $error=sprintf(_("Member '%s' does not exist"),$val)."<br />"; 50 50 } else { 51 $error .=sprintf(_("Member %s successfully deleted"),$u["login"])."<br />";51 $error=sprintf(_("Member %s successfully deleted"),$u["login"])."<br />"; 52 52 } 53 53 } -
alternc/trunk/bureau/admin/browseforfolder.php
r2724 r3186 77 77 78 78 79 if ( $select) {79 if (isset($select) && $select) { 80 80 /* Go ahead, let's send the javascript ...*/ 81 81 ?> -
alternc/trunk/bureau/admin/sta2_add_raw.php
r2724 r3186 40 40 <br /> 41 41 <?php 42 if ( $error) {42 if (isset($error) && $error) { 43 43 echo "<p class=\"error\">$error</p>"; 44 44 include_once("foot.php"); … … 52 52 <select class="inl" name="hostname" id="hostname"><?php $sta2->select_host_list($hostname); ?></select> 53 53 </td></tr> 54 <tr><th><label for="dir"><?php __("Folder where we will put the log file:"); ?></label></th><td><input type="text" class="int" name="dir" id="dir" value=" <?php ehe($dir); ?>" size="20" maxlength="255" />54 <tr><th><label for="dir"><?php __("Folder where we will put the log file:"); ?></label></th><td><input type="text" class="int" name="dir" id="dir" value="" size="20" maxlength="255" /> 55 55 <script type="text/javascript"> 56 56 <!-- -
alternc/trunk/bureau/admin/sta2_list.php
r2843 r3186 43 43 <?php } 44 44 45 if ( $error) {45 if (isset($error) && $error) { 46 46 echo "<p class=\"error\">$error</p>"; 47 47 } -
alternc/trunk/bureau/class/m_dom.php
r3182 r3186 407 407 408 408 if (! is_dir($dest_root . "/". $domshort)) { 409 mkdir($dest_root . "/". $domshort); 409 if(!mkdir($dest_root . "/". $domshort)){ 410 $err->raise("dom",1); 411 return false; 412 } 410 413 } 411 414 412 415 if (! is_dir($dest_root . "/tmp")) { 413 mkdir($dest_root . "/tmp"); 416 if(!mkdir($dest_root . "/tmp")){ 417 $err->raise("dom",1); 418 return false; 419 } 414 420 } 415 421 -
alternc/trunk/bureau/class/m_sta2.php
r3132 r3186 118 118 } 119 119 // on détruit les jeux de stats associés au préfixe correspondant : 120 for($i=0;$i< cnt;$i++) {120 for($i=0;$i<$cnt;$i++) { 121 121 $db->query("DELETE FROM stats2 WHERE mid='$cuid' AND hostname='".$t[$i]."';"); 122 122 } -
alternc/trunk/src/Makefile
r3135 r3186 26 26 # ---------------------------------------------------------------------- 27 27 # 28 SETUID=mail_add mail_del quota_edit quota_get mem_add mem_del 28 SETUID=mail_add mail_del quota_edit quota_get mem_add mem_del du.pl 29 29 SCRIPTS=sqlbackup.sh rawstat.daily quota_init quota_delete update_domains.sh slave_dns sendmail spoolsize.php fixperms.sh alternc-dboptimize export_account.php cron_users_doit.sh cron_users.sh 30 30 LIBS=functions.sh functions_hosting.sh functions_dns.sh … … 35 35 chown root:1999 $(BIN) 36 36 chmod 755 $(BIN) 37 install -o root -g 1999 -m4750 $(SETUID) du.pl$(BIN)37 install -o root -g 1999 -m4750 $(SETUID) $(BIN) 38 38 install -o root -g 1999 -m0750 $(SCRIPTS) $(BIN) 39 39 install -o root -g 1999 -m0644 $(LIBS) $(BIN)
Note: See TracChangeset
for help on using the changeset viewer.
