Changeset 394


Ignore:
Timestamp:
Dec 2, 2011 2:39:15 AM (12 years ago)
Author:
anonymous
Message:

sc-msg CSS update, minor adjustments.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/css/codebase.inc.css

    r362 r394  
    99
    1010/* App.inc.php ------------------------------------------------------ */
    11 .sc-msg { z-index: 2000000000; } /* Close to the maximum of a 32-bit integer. */
    12 .sc-msg-success,
    13 .sc-msg-notice,
    14 .sc-msg-warning,
    15 .sc-msg-error {
    16     margin: 0 0 6px 0;
    17     padding: 5px;
    18     background: #fff;
    19     color: #f00;
    20     border: 1px solid #f00;
     11.sc-msg {
     12    z-index: 2000000000;  /* Close to the maximum of a 32-bit integer. */
     13    margin: 1em 0;
     14    padding: .6em .6em .3em;
     15    border: 1px solid #ddd;
     16    background: #fafafa;
    2117}
    22 .sc-msg-success { color: #090; border-color: #090; }
    23 .sc-msg-notice { color: #C60; border-color: #C60; }
    24 
    25 form .sc-msg-success,
    26 form .sc-msg-notice,
    27 form .sc-msg-warning,
    28 form .sc-msg-error {
    29     border-style: none;
     18.sc-msg-success { color: #090; }
     19.sc-msg-notice { color: #C60; }
     20.sc-msg-warning,
     21.sc-msg-error { color: #f00; }
     22.sc-msg > .sc-msg-success,
     23.sc-msg > .sc-msg-notice,
     24.sc-msg > .sc-msg-warning,
     25.sc-msg > .sc-msg-error {
     26    background: #fafafa;
    3027    padding: 0;
     28    margin: .5em 0;
    3129}
    3230
  • trunk/lib/Email.inc.php

    r376 r394  
    378378                return true;
    379379            } else {
    380                 $app->logMsg(sprintf('Invalid email: %s', $email), LOG_INFO, __FILE__, __LINE__);
     380                $app->logMsg(sprintf('Invalid email address: %s', $email), LOG_INFO, __FILE__, __LINE__);
    381381                return false;
    382382            }
  • trunk/lib/Utilities.inc.php

    r380 r394  
    828828        $salt = $app->getParam('signing_key');
    829829    }
    830 
     830   
     831    // TODO: consider using more bits-per-character, such as done with:
     832    // http://www.php.net/manual/en/function.sha1.php#86239
     833    // http://blog.kevburnsjr.com/php-unique-hash
    831834    return $val . '-' . mb_strtolower(mb_substr(md5($salt . md5($val . $salt)), 0, $length));
    832835}
Note: See TracChangeset for help on using the changeset viewer.