Changeset 1735 in subversion
- Timestamp:
- Sep 5, 2008 3:27:23 AM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 5 edited
-
index.php (modified) (2 diffs)
-
program/include/main.inc (modified) (1 diff)
-
program/include/rcube_json_output.php (modified) (1 diff)
-
program/include/rcube_template.php (modified) (1 diff)
-
program/steps/mail/list.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/index.php
r1697 r1735 30 30 // include environment 31 31 require_once 'program/include/iniset.php'; 32 33 // define global vars34 $OUTPUT_TYPE = 'html';35 32 36 33 // init application and start session with requested task … … 95 92 96 93 // log successful login 97 if ($RCMAIL->config->get('log_logins') && $RCMAIL->config->get('debug_level') & 1) 98 console(sprintf('Successful login for %s (id %d) from %s', 99 trim(get_input_value('_user', RCUBE_INPUT_POST), ' '), 100 $_SESSION['user_id'], 101 $_SERVER['REMOTE_ADDR'])); 94 if ($RCMAIL->config->get('log_logins')) { 95 write_log('userlogins', sprintf('Successful login for %s (id %d) from %s', 96 $RCMAIL->user->get_username(), 97 $RCMAIL->user->ID, 98 $_SERVER['REMOTE_ADDR'])); 99 } 102 100 103 101 // send redirect -
trunk/roundcubemail/program/include/main.inc
r1723 r1735 318 318 } 319 319 if (!$enctype) 320 $enctype = $ GLOBALS['OUTPUT_TYPE'];320 $enctype = $OUTPUT->type; 321 321 322 322 // encode for plaintext -
trunk/roundcubemail/program/include/rcube_json_output.php
r1568 r1735 35 35 private $commands = array(); 36 36 37 public $type = 'js'; 37 38 public $ajax_call = true; 38 39 -
trunk/roundcubemail/program/include/rcube_template.php
r1722 r1735 40 40 var $object_handlers = array(); 41 41 42 public $type = 'html'; 42 43 public $ajax_call = false; 43 44 -
trunk/roundcubemail/program/steps/mail/list.inc
r1647 r1735 20 20 */ 21 21 22 $OUTPUT_TYPE = 'js';23 22 // is there a sort type for this request? 24 23 if ($sort = get_input_value('_sort', RCUBE_INPUT_GET))
Note: See TracChangeset
for help on using the changeset viewer.
