[Fusionforge-commits] r17754 - trunk/src/www/include
Marc-Etienne VARGENAU
vargenau at fusionforge.org
Wed Aug 21 13:33:07 CEST 2013
Author: vargenau
Date: 2013-08-21 13:33:07 +0200 (Wed, 21 Aug 2013)
New Revision: 17754
Modified:
trunk/src/www/include/Layout.class.php
Log:
Remove nbsp, update strings, use CSS
Modified: trunk/src/www/include/Layout.class.php
===================================================================
--- trunk/src/www/include/Layout.class.php 2013-08-21 09:02:26 UTC (rev 17753)
+++ trunk/src/www/include/Layout.class.php 2013-08-21 11:33:07 UTC (rev 17754)
@@ -133,7 +133,7 @@
// determine theme{dir,url}
$this->themedir = forge_get_config('themes_root') . '/' . forge_get_config('default_theme') . '/';
if (!file_exists ($this->themedir)) {
- html_error_top(_("Can't find theme directory!"));
+ html_error_top(_("Cannot find theme directory!"));
return;
}
$this->themeurl = util_make_url('themes/' . forge_get_config('default_theme') . '/');
@@ -434,22 +434,22 @@
$this->quickNav();
?></td>
- <td> </td>
- </tr>
+ <td></td>
+ </tr>
- </table>
+</table>
- <table border="0" width="100%" cellspacing="0" cellpadding="0">
+<table class="fullwidth">
- <tr>
- <td> </td>
- <td colspan="3">
+ <tr>
+ <td></td>
+ <td colspan="3">
- <?php echo $this->outerTabs($params); ?>
+<?php $this->outerTabs($params); ?>
- </td>
- <td> </td>
- </tr>
+ </td>
+ <td></td>
+ </tr>
<tr>
<td align="left" class="toptab" width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/topleft.png" height="9" width="9" alt="" /></td>
@@ -459,36 +459,38 @@
<td align="right" class="toptab" width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/topright.png" height="9" width="9" alt="" /></td>
</tr>
- <tr>
+ <tr>
- <!-- Outer body row -->
+ <!-- Outer body row -->
<td class="toptab"><img src="<?php echo $this->imgbaseurl; ?>clear.png" width="10" height="1" alt="" /></td>
<td valign="top" width="99%" class="toptab" colspan="3">
<!-- Inner Tabs / Shell -->
- <table border="0" width="100%" cellspacing="0" cellpadding="0">
- <?php
+ <table class="fullwidth">
+<?php
- if (isset($params['group']) && $params['group']) {
+if (isset($params['group']) && $params['group']) {
+ ?>
+ <tr>
+ <td></td>
+ <td>
+ <?php
+
+ echo $this->projectTabs($params['toptab'],$params['group']);
+
?>
- <tr>
- <td> </td>
- <td>
- <?php
+ </td>
+ <td></td>
+ </tr>
+ <?php
- echo $this->projectTabs($params['toptab'],$params['group']);
+}
- ?>
- </td>
- <td> </td>
- </tr>
- <?php
- }
- ?>
+?>
<tr>
<td align="left" class="projecttab" width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/topleft-inner.png" height="9" width="9" alt="" /></td>
<td class="projecttab" ><img src="<?php echo $this->imgbaseurl; ?>clear.png" width="1" height="1" alt="" /></td>
@@ -499,13 +501,13 @@
<td class="projecttab" ><img src="<?php echo $this->imgbaseurl; ?>clear.png" width="10" height="1" alt="" /></td>
<td valign="top" width="99%" class="projecttab">
- <?php
+ <?php
}
function footer($params) {
- ?>
+ ?>
<!-- end main body row -->
@@ -1393,7 +1395,7 @@
$subMenuAttr = array();
if (forge_get_config('use_project_tags')) {
- $subMenuTitle[] = _('Tag cloud');
+ $subMenuTitle[] = _('Tag Cloud');
$subMenuUrl[] = '/softwaremap/tag_cloud.php';
$subMenuAttr[] = array('title' => _('Browse per tags defined by the projects.'), 'class' => 'tabtitle-nw');
}
@@ -1401,7 +1403,7 @@
if (forge_get_config('use_trove')) {
$subMenuTitle[] = _('Project Tree');
$subMenuUrl[] = '/softwaremap/trove_list.php';
- $subMenuAttr[] = array('title' => _('Browse per category.'), 'class' => 'tabtitle');
+ $subMenuAttr[] = array('title' => _('Browse by Category'), 'class' => 'tabtitle');
}
if (forge_get_config('use_project_full_list')) {
More information about the Fusionforge-commits
mailing list