[Fusionforge-commits] r8545 - trunk/gforge/www/tracker/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Dec 16 20:56:57 CET 2009


Author: aljeux
Date: 2009-12-16 20:56:57 +0100 (Wed, 16 Dec 2009)
New Revision: 8545

Modified:
   trunk/gforge/www/tracker/admin/form-addextrafield.php
   trunk/gforge/www/tracker/admin/form-addextrafieldoption.php
   trunk/gforge/www/tracker/admin/form-updateextrafield.php
   trunk/gforge/www/tracker/admin/form-uploadtemplate.php
   trunk/gforge/www/tracker/admin/form-workflow_roles.php
Log:
xhtml and accessibility changes

Modified: trunk/gforge/www/tracker/admin/form-addextrafield.php
===================================================================
--- trunk/gforge/www/tracker/admin/form-addextrafield.php	2009-12-16 19:56:52 UTC (rev 8544)
+++ trunk/gforge/www/tracker/admin/form-addextrafield.php	2009-12-16 19:56:57 UTC (rev 8545)
@@ -6,7 +6,7 @@
 $title = sprintf(_('Manage Custom Fields for %s'), $ath->getName());
 $ath->adminHeader(array ('title'=>$title));
 
-echo "<h2>".$title."</h2>";
+echo "<h1>".$title."</h1>";
 
 		/*
 			List of possible user built Selection Boxes for an ArtifactType
@@ -77,7 +77,7 @@
 			
 			echo utils_requiredField().' '._('Indicates required fields.');
 		} else { 
-			echo "\n<h3>"._('You have not defined any custom fields')."</h3>";
+			echo "\n<strong>"._('You have not defined any custom fields')."</strong>";
 		}
 
 		echo "<h2>"._('Add New Custom Field')."</h2>";

Modified: trunk/gforge/www/tracker/admin/form-addextrafieldoption.php
===================================================================
--- trunk/gforge/www/tracker/admin/form-addextrafieldoption.php	2009-12-16 19:56:52 UTC (rev 8544)
+++ trunk/gforge/www/tracker/admin/form-addextrafieldoption.php	2009-12-16 19:56:57 UTC (rev 8545)
@@ -14,8 +14,7 @@
 		$title = sprintf(_('Add/Update Custom Field Elements in %s'), $ath->getName());
 		$ath->adminHeader(array ('title'=>$title));
 
-		echo "<h3>".$title."</h3>";
-		echo "<br />";
+		echo "<h1>".$title."</h1>";
 		$rows=count($efearr);
 		if ($rows > 0) {
 			
@@ -66,7 +65,7 @@
 			<?php
 
 		} else { 
-			echo "\n<h3>"._('You have not defined any elements')."</h3>";
+			echo "\n<strong>"._('You have not defined any elements')."</strong>";
 		}
 		?>
 		<form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&amp;boxid='.$boxid.'&amp;atid='.$ath->getID(); ?>" method="post">

Modified: trunk/gforge/www/tracker/admin/form-updateextrafield.php
===================================================================
--- trunk/gforge/www/tracker/admin/form-updateextrafield.php	2009-12-16 19:56:52 UTC (rev 8544)
+++ trunk/gforge/www/tracker/admin/form-updateextrafield.php	2009-12-16 19:56:57 UTC (rev 8545)
@@ -8,7 +8,7 @@
 $title = sprintf(_('Modify a custom field in %s'),$ath->getName());
 $ath->adminHeader(array('title'=>$title));
 
-echo '<h2>'.$title.'</h2>';
+echo '<h1>'.$title.'</h1>';
 
 		$id = getStringFromRequest('id');
 		$ac = new ArtifactExtraField($ath,$id);

Modified: trunk/gforge/www/tracker/admin/form-uploadtemplate.php
===================================================================
--- trunk/gforge/www/tracker/admin/form-uploadtemplate.php	2009-12-16 19:56:52 UTC (rev 8544)
+++ trunk/gforge/www/tracker/admin/form-uploadtemplate.php	2009-12-16 19:56:57 UTC (rev 8545)
@@ -4,7 +4,7 @@
 
 $ath->adminHeader(array('title'=>$title));
 
-echo '<h3>'.$title.'</h3>';
+echo '<h1>'.$title.'</h1>';
 ?>
 <form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&amp;atid='.$ath->getID(); ?>" method="post" enctype="multipart/form-data">
 <p><input type="hidden" name="uploadtemplate" value="1" />

Modified: trunk/gforge/www/tracker/admin/form-workflow_roles.php
===================================================================
--- trunk/gforge/www/tracker/admin/form-workflow_roles.php	2009-12-16 19:56:52 UTC (rev 8544)
+++ trunk/gforge/www/tracker/admin/form-workflow_roles.php	2009-12-16 19:56:57 UTC (rev 8545)
@@ -34,7 +34,7 @@
 		}
 
 ?>
-    	<h2><?php printf(_('Configuring allowed roles for the transitions from %1$s to %2$s'), $name[$from], $name[$next]) ?></h2>
+    	<h1><?php printf(_('Configuring allowed roles for the transitions from %1$s to %2$s'), $name[$from], $name[$next]) ?></h1>
  		<form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&amp;atid='.$ath->getID(); ?>" method="post">
 		<input type="hidden" name="field_id" value="<?php echo $field_id ?>" />
 		<input type="hidden" name="workflow_roles" value="1" />




More information about the Fusionforge-commits mailing list