Changeset fbe24e9 in github
- Timestamp:
- Nov 24, 2010 6:56:15 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- e363b0d3
- Parents:
- 576b330
- Files:
-
- 3 edited
-
config/main.inc.php.dist (modified) (1 diff)
-
program/include/rcube_template.php (modified) (5 diffs)
-
skins/default/templates/login.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
config/main.inc.php.dist
re3af1f2 rfbe24e9 180 180 // set the port for the ssl connection as value of this option if it differs from the default 443 181 181 $rcmail_config['force_https'] = false; 182 183 // Allow browser-autocompletion on login form 184 $rcmail_config['login_autocomplete'] = false; 182 185 183 186 // automatically create a new Roundcube user when log-in the first time. -
program/include/rcube_template.php
r7fcb56b rfbe24e9 38 38 private $js_commands = array(); 39 39 private $object_handlers = array(); 40 private $plugin_skin_path; 40 41 41 42 public $browser; … … 374 375 $skin_path = $this->config['skin_path']; 375 376 $plugin = false; 377 $this->plugin_skin_path = null; 376 378 377 379 $temp = explode(".", $name, 2); … … 380 382 $name = $temp[1]; 381 383 $skin_dir = $plugin . '/skins/' . $this->config['skin']; 382 $skin_path = $this-> app->plugins->dir . $skin_dir;384 $skin_path = $this->plugin_skin_path = $this->app->plugins->dir . $skin_dir; 383 385 if (!is_dir($skin_path)) { // fallback to default skin 384 386 $skin_dir = $plugin . '/skins/default'; 385 $skin_path = $this-> app->plugins->dir . $skin_dir;387 $skin_path = $this->plugin_skin_path = $this->app->plugins->dir . $skin_dir; 386 388 } 387 389 } … … 665 667 // include a file 666 668 case 'include': 667 $path = realpath($this->config['skin_path'].$attrib['file']); 669 if (!$this->plugin_skin_path || !is_file($path = realpath($this->plugin_skin_path . $attrib['file']))) 670 $path = realpath(($attrib['skin_path'] ? $attrib['skin_path'] : $this->config['skin_path']).$attrib['file']); 671 668 672 if (is_readable($path)) { 669 673 if ($this->config['skin_include_php']) { … … 1042 1046 { 1043 1047 $default_host = $this->config['default_host']; 1048 $attrib['autocomplete'] = $this->config['login_autocomplete'] ? null : 'off'; 1044 1049 1045 1050 $_SESSION['temp'] = true; -
skins/default/templates/login.html
re947068 rfbe24e9 17 17 18 18 <form name="form" action="./" method="post"> 19 <roundcube:object name="loginform" form="form" autocomplete="off"/>19 <roundcube:object name="loginform" form="form" /> 20 20 21 21 <p style="text-align:center;"><input type="submit" class="button mainaction" value="<roundcube:label name='login' />" /></p>
Note: See TracChangeset
for help on using the changeset viewer.
