improved updater wording
This commit is contained in:
parent
a0a5668d1e
commit
85cb171cb8
|
@ -59,9 +59,9 @@ class OC_Updater{
|
|||
public static function ShowUpdatingHint(){
|
||||
$data=OC_Updater::check();
|
||||
if(isset($data['version']) and $data['version']<>'') {
|
||||
$txt='<span style="color:#AA0000; font-weight:bold;">'.$data['versionstring'].' is available. Please click <a href="'.$data['web'].'">here</a> for more information</span>';
|
||||
$txt='<span style="color:#AA0000; font-weight:bold;">'.$data['versionstring'].' is available. Get <a href="'.$data['web'].'">more information</a></span>';
|
||||
}else{
|
||||
$txt='Your ownCloud is up to date';
|
||||
$txt='up to date';
|
||||
}
|
||||
return($txt);
|
||||
}
|
||||
|
|
|
@ -50,10 +50,8 @@
|
|||
};?>
|
||||
|
||||
<p class="personalblock">
|
||||
<strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?> <?php echo(OC_Util::getEditionString()); ?><br />
|
||||
developed by the <a href="http://ownCloud.org/credits" target="_blank">ownCloud community</a><br />
|
||||
<?php echo(OC_Updater::ShowUpdatingHint()); ?><br />
|
||||
<a href="http://gitorious.org/owncloud" target="_blank">source code</a> licensed freely under <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPL</a>
|
||||
<strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?> <?php echo(OC_Util::getEditionString()); ?> (<?php echo(OC_Updater::ShowUpdatingHint()); ?>)<br />
|
||||
Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="http://gitorious.org/owncloud" target="_blank">source code</a> is freely licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue