~vcs-imports/clansuite/trunk

« back to all changes in this revision

Viewing changes to installation/install-step6.php

  • Committer: vain
  • Date: 2011-12-29 03:35:13 UTC
  • Revision ID: vain-20111229033513-jf2pok81w9porztb
- installation cleanup - part 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 * Security Handler
4
4
 */
5
5
if (defined('IN_CS') === false)
6
 
 
6
{
7
7
    die( 'Clansuite not loaded. Direct Access forbidden.' );
8
8
}
9
9
?>
53
53
                                   if ((!$file->isDot()) && preg_match("/.gif$/",$file->getFilename()))
54
54
                                   {
55
55
                                      echo '<option style="padding-left: 30px; background-image: url(./languages/' . $file .'); background-position:5px 100%; background-repeat: no-repeat;"';
56
 
                                      $file = mb_substr($file->getFilename(), 0, -4);
 
56
                                      $file = substr($file->getFilename(), 0, -4);
57
57
 
58
58
                                      # filename conversion to shorthand
59
59
                                      if($file == 'german' ) { $language_shorthand = 'de_DE'; }