]> source.dussan.org Git - nextcloud-server.git/commitdiff
don't show translation hints in enterprise edition
authorBjörn Schießle <schiessle@owncloud.com>
Wed, 12 Jun 2013 15:07:43 +0000 (17:07 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 14:39:40 +0000 (16:39 +0200)
Conflicts:

settings/templates/personal.php

settings/templates/personal.php

index a158bd8f5ba15085186e5527df39872b81d06e41..eab3373ad350f24e5eaab9bbf762bde19fe3fb42 100644 (file)
@@ -91,8 +91,10 @@ if($_['passwordChangeSupported']) {
                        <option value="<?php p($language['code']);?>"><?php p($language['name']);?></option>
                <?php endforeach;?>
                </select>
-               <a href="https://www.transifex.net/projects/p/owncloud/team/<?php p($_['languages'][0]['code']);?>/"
+               <?php if (OC_Util::getEditionString() === ''): ?>
+               <a href="https://www.transifex.net/projects/p/owncloud/team/<?php p($_['languages']['code']);?>/"
                        target="_blank"><em><?php p($l->t('Help translate'));?></em></a>
+               <?php endif; ?>
        </fieldset>
 </form>