Update of /cvsroot/webnotes/webnotes/themes/phpnet
In directory usw-pr-cvs1:/tmp/cvs-serv31239/themes/phpnet
Modified Files:
theme_api.php
Log Message:
- Added the sf logo to the sample pages.
- Changed the sample pages to use logical names rather than __FILE__.
- Added the ? picture to the notes + other minor tweaks. ? is not yet hyperlinked.
Index: theme_api.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/themes/phpnet/theme_api.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- theme_api.php 12 Sep 2002 12:50:23 -0000 1.9
+++ theme_api.php 12 Sep 2002 13:31:46 -0000 1.10
@@ -41,6 +41,7 @@
$url = $g_web_directory . '/themes/' . $g_theme . '/images/';
$add_picture = $url . 'notes_add.gif';
+ $help_picture = $url . 'notes_about.gif';
if ( !$p_preview ) {
$t_link_start = "<a href=\"$g_note_add_page?f_page_id=$t_page_id&f_url=$c_url\">";
@@ -52,11 +53,10 @@
echo <<<EOT
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<tr bgcolor="#d0d0d0" valign="top">
- <td>User Contributed Notes<br /><b>$p_page</b></td>
+ <td><small>User Contributed Notes</small><br /><strong>$p_page</strong></td>
<td align="right">
- $t_link_start
- <img src="$add_picture" border="0" width="13" height="13" ALT="add a note"/>
- $t_link_end
+ $t_link_start<img src="$add_picture" border="0" width="13" height="13" alt="Add Notes" />$t_link_end
+ <img src="$help_picture" border="0" width="13" height="13" alt="About Notes" />
</td>
</tr>
EOT;
@@ -100,7 +100,7 @@
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr align="top" bgcolor="#e0e0e0">
<td><b>$t_email</b><br/>$t_date</td>
- <td align="right">$t_id</td>
+ <td align="right"><pre>$t_id</pre></td>
</tr>
<tr bgcolor="#f0f0f0">
<td colspan="2"><pre>$t_note</pre></td>
@@ -117,9 +117,10 @@
$c_url = urlencode( $p_url );
$t_page_id = page_get_id( $p_page );
-
+
$url = $g_web_directory . '/themes/' . $g_theme . '/images/';
$add_picture = $url . 'notes_add.gif';
+ $help_picture = $url . 'notes_about.gif';
if ( !$p_preview ) {
$t_link_start = "<a href=\"$g_note_add_page?f_page_id=$t_page_id&f_url=$c_url\">";
@@ -130,9 +131,10 @@
echo <<<EOT
<tr bgcolor="#d0d0d0" valign="top">
- <td colspan="2" align="right">$t_link_start
- <img src="$add_picture" border="0" width="13" height="13" ALT="add a note" />
- $t_link_end</td>
+ <td colspan="2" align="right">
+ $t_link_start<img src="$add_picture" border="0" width="13" height="13" alt="Add Notes" />$t_link_end
+ <img src="$help_picture" border="0" width="13" height="13" alt="About Notes" />
+ </td>
</tr>
</table>
EOT;
|