[Fusionforge-commits] r18412 - trunk/src/www/include

Marc-Etienne VARGENAU vargenau at fusionforge.org
Fri Nov 8 13:05:16 CET 2013


Author: vargenau
Date: 2013-11-08 13:05:16 +0100 (Fri, 08 Nov 2013)
New Revision: 18412

Modified:
   trunk/src/www/include/Layout.class.php
   trunk/src/www/include/html.php
Log:
Update PHP Doc

Modified: trunk/src/www/include/Layout.class.php
===================================================================
--- trunk/src/www/include/Layout.class.php	2013-11-08 10:43:49 UTC (rev 18411)
+++ trunk/src/www/include/Layout.class.php	2013-11-08 12:05:16 UTC (rev 18412)
@@ -486,14 +486,14 @@
 
 ?>
 			<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>
-			<td align="right" class="projecttab"  width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/topright-inner.png" height="9" width="9" alt="" /></td>
+				<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>
+				<td align="right" class="projecttab"  width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/topright-inner.png" height="9" width="9" alt="" /></td>
 			</tr>
 
 			<tr>
-			<td class="projecttab" ><img src="<?php echo $this->imgbaseurl; ?>clear.png" width="10" height="1" alt="" /></td>
-			<td valign="top" width="99%" class="projecttab">
+				<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
 
@@ -505,13 +505,13 @@
 
 			<!-- end main body row -->
 
-			</td>
-			<td width="10" class="footer3" ><img src="<?php echo $this->imgbaseurl; ?>clear.png" width="2" height="1" alt="" /></td>
+				</td>
+				<td width="10" class="footer3" ><img src="<?php echo $this->imgbaseurl; ?>clear.png" width="2" height="1" alt="" /></td>
 			</tr>
 			<tr>
-			<td align="left" class="footer1" width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/bottomleft-inner.png" height="11" width="11" alt="" /></td>
-			<td class="footer3"><img src="<?php echo $this->imgbaseurl; ?>clear.png" width="1" height="1" alt="" /></td>
-			<td align="right" class="footer1" width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/bottomright-inner.png" height="11" width="11" alt="" /></td>
+				<td align="left" class="footer1" width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/bottomleft-inner.png" height="11" width="11" alt="" /></td>
+				<td class="footer3"><img src="<?php echo $this->imgbaseurl; ?>clear.png" width="1" height="1" alt="" /></td>
+				<td align="right" class="footer1" width="9"><img src="<?php echo $this->imgbaseurl; ?>tabs/bottomright-inner.png" height="11" width="11" alt="" /></td>
 			</tr>
 			</table>
 
@@ -533,16 +533,16 @@
 	function footerEnd($params) { ?>
 
 		<!-- PLEASE LEAVE "Powered By FusionForge" on your site -->
-			<div align="right">
-			<?php echo $this->navigation->getPoweredBy(); ?>
-			</div>
+		<div align="right">
+		<?php echo $this->navigation->getPoweredBy(); ?>
+		</div>
 
-			<?php echo $this->navigation->getShowSource();
+		<?php echo $this->navigation->getShowSource();
 
-			plugin_hook('webanalytics_url', array());
+		plugin_hook('webanalytics_url', array());
 
-			echo "</body>\n";
-			echo "</html>\n";
+		echo "</body>\n";
+		echo "</html>\n";
 	}
 
 	function getRootIndex() {
@@ -873,9 +873,9 @@
 	/**
 	 * printSubMenu() - Takes two array of titles and links and builds the contents of a menu.
 	 *
-	 * @param	array	The array of titles.
-	 * @param	array	The array of title links.
-	 * @param	array	The array of string for title attributes.
+	 * @param	array	$title_arr	The array of titles.
+	 * @param	array	$links_arr	The array of title links.
+	 * @param	array	$attr_arr	The array of string for title attributes.
 	 * @return	string	Html to build a submenu.
 	 */
 	function printSubMenu($title_arr, $links_arr, $attr_arr) {

Modified: trunk/src/www/include/html.php
===================================================================
--- trunk/src/www/include/html.php	2013-11-08 10:43:49 UTC (rev 18411)
+++ trunk/src/www/include/html.php	2013-11-08 12:05:16 UTC (rev 18412)
@@ -1229,10 +1229,10 @@
 /**
  * html_a_copy() - Return a copy of part of the autoclose stack
  *
- * @param	$spos	integer
+ * @param	int	$spos
  *            stack position caller will return to
  * @throws	Exception
- * @return	opaque
+ * @return	array
  *			argument suitable for html_a_apply()
  */
 function html_a_copy($spos) {
@@ -1259,7 +1259,7 @@
 /**
  * html_a_apply() - Reopen tags based on an autoclose stack copy
  *
- * @param	opaque	$scopy
+ * @param	array	$scopy
  *			return value from html_a_copy()
  * @return	string
  *		XHTML string suitable for echo'ing




More information about the Fusionforge-commits mailing list