Changeset 391
- Timestamp:
- Nov 19, 2011 3:55:18 PM (12 years ago)
- Location:
- branches/1.1dev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/lib/Upload.inc.php
r310 r391 374 374 // Is an array, but just one value. Pull it out. 375 375 $file_name = trim($custom_file_name[0]); 376 raiseMsg(sprintf(_("The file %s has been renamed to %s."), $files['name'][$i], $file_name), MSG_NOTICE, __FILE__, __LINE__); 376 if ($this->display_messages) { 377 raiseMsg(sprintf(_("The file %s has been renamed to %s."), $files['name'][$i], $file_name), MSG_NOTICE, __FILE__, __LINE__); 378 } 377 379 logMsg(sprintf('Using custom file name: %s', $file_name), LOG_DEBUG, __FILE__, __LINE__); 378 380 } else if (!is_array($custom_file_name) && '' != trim($custom_file_name)) { 379 381 // Valid custom file name. 380 382 $file_name = $custom_file_name; 381 raiseMsg(sprintf(_("The file %s has been renamed to %s."), $files['name'][$i], $file_name), MSG_NOTICE, __FILE__, __LINE__); 383 if ($this->display_messages) { 384 raiseMsg(sprintf(_("The file %s has been renamed to %s."), $files['name'][$i], $file_name), MSG_NOTICE, __FILE__, __LINE__); 385 } 382 386 logMsg(sprintf('Using custom file name: %s', $file_name), LOG_DEBUG, __FILE__, __LINE__); 383 387 } else { -
branches/1.1dev/templates/adm_login_form.ihtml
r185 r391 1 <form method="post" action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" >1 <form method="post" action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" class="sc-form" autocomplete="off"> 2 2 <?php printHiddenSession() ?> 3 3 <table border="0" cellspacing="0" cellpadding="4"> … … 8 8 <tr> 9 9 <td class="formlabel" align="right" valign="top"><?php echo _("Password"); ?></td> 10 <td valign="top"><input type="password" class="forminputtext" size="25" name="password" value=" <?php echo oTxt($frm['password']); ?>"></td>10 <td valign="top"><input type="password" class="forminputtext" size="25" name="password" value="" autocomplete="off"></td> 11 11 </tr> 12 12 <tr>
Note: See TracChangeset
for help on using the changeset viewer.