diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-12-02 11:24:50 -0800 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-12-02 11:24:50 -0800 |
commit | 65f67c089d55dc0096adcc3d0a5d35e9e8a4cad7 (patch) | |
tree | 0f50361b8952e20b5c2fe226951588b9a6a793cb /install.php | |
parent | 38479cbba628ee76a92ff5f3c974cfa8e6ce9e61 (diff) | |
parent | b1730bd21bd9ce8807b80c4cfb044858c7af60d8 (diff) | |
download | rpg-65f67c089d55dc0096adcc3d0a5d35e9e8a4cad7.tar.gz rpg-65f67c089d55dc0096adcc3d0a5d35e9e8a4cad7.tar.bz2 |
Merge pull request #119 from whoopdedo/installerstrings
Translatable string for "None" license selection
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php index d954e20ed..f2bc1a26d 100644 --- a/install.php +++ b/install.php @@ -210,12 +210,12 @@ function print_form($d){ <fieldset> <p><?php echo $lang['i_license']?></p> <?php - array_unshift($license,array('name' => 'None', 'url'=>'')); + array_push($license,array('name' => $lang['i_license_none'], 'url'=>'')); if(empty($d['license'])) $d['license'] = 'cc-by-sa'; foreach($license as $key => $lic){ echo '<label for="lic_'.$key.'">'; echo '<input type="radio" name="d[license]" value="'.htmlspecialchars($key).'" id="lic_'.$key.'"'. - (($d['license'] == $key)?' checked="checked"':'').'>'; + (($d['license'] === $key)?' checked="checked"':'').'>'; echo htmlspecialchars($lic['name']); if($lic['url']) echo ' <a href="'.$lic['url'].'" target="_blank"><sup>[?]</sup></a>'; echo '</label>'; |