[Frameworkspider-svn] spider-commit [57]

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2009年 4月 15日 (水) 18:59:43 JST


Revision: 57
          http://svn.sourceforge.jp/view?root=frameworkspider&view=rev&rev=57
Author:   m_nakashima
Date:     2009-04-15 18:59:43 +0900 (Wed, 15 Apr 2009)

Log Message:
-----------


Modified Paths:
--------------
    current/DATA/lib/util/mail/SMTP.class.php
    current/DATA/pages/default/index.php


-------------- next part --------------
Modified: current/DATA/lib/util/mail/SMTP.class.php
===================================================================
--- current/DATA/lib/util/mail/SMTP.class.php	2009-04-15 07:55:38 UTC (rev 56)
+++ current/DATA/lib/util/mail/SMTP.class.php	2009-04-15 09:59:43 UTC (rev 57)
@@ -55,7 +55,7 @@
 			"auth" => $this->options['smtp_auth'],
 			"username" => $this->options['smtp_auth_user'],
 			"password" => $this->options['smtp_auth_pass'],
-			"localhost" => $_SERVER['SERVER_NAME']
+			"localhost" => $_SERVER['HOST_NAME']
 		);
 		$mailSendObj = & Mail::factory( 'smtp', $params );
 		

Modified: current/DATA/pages/default/index.php
===================================================================
--- current/DATA/pages/default/index.php	2009-04-15 07:55:38 UTC (rev 56)
+++ current/DATA/pages/default/index.php	2009-04-15 09:59:43 UTC (rev 57)
@@ -1,9 +1,9 @@
 
 	<h1>This is framework spider example page!</h1>
 	
-	<div style="width:80%;margin:0 auto;text-align:left;">
+	<div class="example-block">
 	<h2>Widget example =&gt; </h2>
-	<table style="margin:0 auto;width:80%;">
+	<table style="margin:0 auto;width:80%;background-color:#FFFFFF;">
 	<tbody>
 	<tr>
 		<th>Dynamic Widget</th>
@@ -19,13 +19,17 @@
 	</tr>
 	</tbody>
 	</table>
+	</div>
 
-
+	<div class="example-block">
 	<h2>write scolar example =&gt; </h2>
 	<p style="color:#0000FF;">
 		{write:example.Hello.message}
 	</p>
 
+	</div>
+
+	<div class="example-block">
 	<h2>use array example =&gt; </h2>
 	<p>you can use 'foreach' tag like this!</p>
 	<ol>
@@ -39,6 +43,9 @@
 		3 = {write:example.Hello.message_array[3]}
 	</p>
 	
+	</div>
+
+	<div class="example-block">
 	<h2>use hash example =&gt; </h2>
 	<p>you can use 'foreach' tag like this!</p>
 	<ul>
@@ -53,5 +60,32 @@
 	</p>
 	
 	</div>
-	
-	
\ No newline at end of file
+
+	<div class="example-block">
+	<h2>use 2D hash example =&gt; </h2>
+	<p>you can use 'foreach' tag like this!</p>
+	<table style="margin:0 auto;width:80%;background-color:#FFFFFF;">
+	<tbody>
+	<tr>
+		<th>Name</th>
+		<th>Information</th>
+	</tr>
+	{foreach:example.Hello.person_hash person_name person_information}
+	<tr>
+		<td>{write:person_name}</td>
+		<td>
+			{foreach:person_information key value}
+				{if:key='sex'}
+					oh! &gt; {write:key}={write:value}<br />
+				{else-if:key='prefecture'}
+					yeah! &gt; {write:key}={write:value}<br />
+				{/if}
+			{/foreach}
+		</td>
+	</tr>
+	{/foreach}
+	</tbody>
+	</table>
+	</div>
+
+		
\ No newline at end of file



Frameworkspider-svn メーリングリストの案内
Zurück zum Archiv-Index