Changeset 4587 in subversion
- Timestamp:
- Mar 1, 2011 5:19:19 PM (2 years ago)
- Location:
- trunk/roundcubemail/installer
- Files:
-
- 2 edited
-
config.php (modified) (1 diff)
-
rcube_install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/installer/config.php
r4054 r4587 501 501 <?php 502 502 503 $input_skin = new html_inputfield(array('name' => '_skin', 'size' => 30, 'id' => "cfgskin")); 503 $input_skin = new html_select(array('name' => '_skin', 'id' => "cfgskin")); 504 $input_skin->add($RCI->list_skins()); 504 505 echo $input_skin->show($RCI->getprop('skin')); 505 506 506 507 ?> 507 508 <div>Name of interface skin (folder in /skins)</div> 509 </dd> 510 511 <dt class="propname">skin_logo</dt> 512 <dd> 513 <?php 514 515 $input_skin = new html_inputfield(array('name' => '_skin_logo', 'size' => 50, 'id' => "cfgskinlogo")); 516 echo $input_skin->show($RCI->getprop('skin_logo')); 517 518 ?> 519 <div>Custom image to display instead of the Roundcube logo.</div> 520 <p class="hint">Enter a URL relative to the document root of this Roundcube installation.</p> 508 521 </dd> 509 522 -
trunk/roundcubemail/installer/rcube_install.php
r4573 r4587 512 512 } 513 513 514 /** 515 * Return a list with available subfolders of the skin directory 516 */ 517 function list_skins() 518 { 519 $skins = array(); 520 $skindir = INSTALL_PATH . 'skins/'; 521 foreach (glob($skindir . '*') as $path) { 522 if (is_dir($path) && is_readable($path)) { 523 $skins[] = substr($path, strlen($skindir)); 524 } 525 } 526 return $skins; 527 } 514 528 515 529 /**
Note: See TracChangeset
for help on using the changeset viewer.
