[CS-Project-svn_notify] SF.net SVN: cs-project: [771] trunk
Brought to you by:
crazedsanity
From: <cra...@us...> - 2008-02-01 05:29:56
|
Revision: 771 http://cs-project.svn.sourceforge.net/cs-project/?rev=771&view=rev Author: crazedsanity Date: 2008-01-31 21:29:53 -0800 (Thu, 31 Jan 2008) Log Message: ----------- Fix to allow note creation, remove some unneeded code. Modified Paths: -------------- trunk/includes/content/notes.inc trunk/templates/content/notes/view.content.tmpl Added Paths: ----------- trunk/templates/content/notes/create.content.tmpl Modified: trunk/includes/content/notes.inc =================================================================== --- trunk/includes/content/notes.inc 2008-02-01 05:15:24 UTC (rev 770) +++ trunk/includes/content/notes.inc 2008-02-01 05:29:53 UTC (rev 771) @@ -2,10 +2,10 @@ /* * SVN INFORMATION::: * ------------------ - * Last Author: $Author$ - * Current Revision: $Revision$ - * Repository Location: $HeadURL$ - * Last Updated: $Date$ + * Last Author: $Author:crazedsanity $ + * Current Revision: $Revision:637 $ + * Repository Location: $HeadURL:https://cs-project.svn.sourceforge.net/svnroot/cs-project/trunk/includes/content/notes.inc $ + * Last Updated: $Date:2007-11-20 11:04:33 -0600 (Tue, 20 Nov 2007) $ */ if($_POST) { @@ -105,7 +105,6 @@ exit; } else { - $page->rip_all_block_rows('content', array('owner_options')); $projectData = $proj->get_details($projectId, FALSE); if(is_array($projectData)) { Copied: trunk/templates/content/notes/create.content.tmpl (from rev 765, trunk/templates/content/notes/view.content.tmpl) =================================================================== --- trunk/templates/content/notes/create.content.tmpl (rev 0) +++ trunk/templates/content/notes/create.content.tmpl 2008-02-01 05:29:53 UTC (rev 771) @@ -0,0 +1,35 @@ +<form action='' method='POST'> +<input type="hidden" name="note_id" value={note_id}> +<input type="hidden" name="module" value="notes"> + +<table border=0 cellpadding=0 cellspacing=0><tr><td> +<table border=0 bgcolor=#D5D5D5> +<tr> + <td><a href="javascript:void();"><b>Notes</b></a></td> + +<tr> + <td></td> +</tr> +<tr> + <td colspan=2>Title:<input type='text' name='updates[subject]' size='92' value="{note_subject}" {note_name_readonly}></td> +</tr> +<tr> + <td> + <textarea rows=20 cols=95 name="updates[body]" wrap=physical>{note_body}</textarea> + </td> +<tr> +</table> + +<table align="center"> +<tr> + <td align="center"> + <input type="HIDDEN" name="updates[record_id]" value="{record_id}"> + <input type="submit" name="{submit_name}" value="{submit_value}"> + </td> +</tr> +<tr> + <td align="center"><a href='{goBackLink}'><b>GO BACK</b></a></td> +</tr> +</table> + +</td></tr></table> Modified: trunk/templates/content/notes/view.content.tmpl =================================================================== --- trunk/templates/content/notes/view.content.tmpl 2008-02-01 05:15:24 UTC (rev 770) +++ trunk/templates/content/notes/view.content.tmpl 2008-02-01 05:29:53 UTC (rev 771) @@ -2,44 +2,20 @@ <input type="hidden" name="note_id" value={note_id}> <input type="hidden" name="module" value="notes"> -<table border=0 cellpadding=0 cellspacing=0><tr><td> -<table border=0 bgcolor=#D5D5D5> +<table border=0 bgcolor=#D5D5D5 width="50%"> <tr> <td><a href="javascript:void();"><b>Notes</b></a></td> <tr> <td></td> </tr> -<!-- BEGIN nonowner_options --> <tr> <td style="border-bottom:solid #000 1px;">Title: <b>{note_subject}</b></td> </tr> <tr> - <td><div>{note_body}</div></td> + <td style="border-bottom:solid #000 1px;"><div>{note_body}</div></td> </tr> -<!-- END nonowner_options --> -<!-- BEGIN owner_options --> <tr> - <td colspan=2>Title:<input type='text' name='updates[subject]' size='92' value="{note_subject}" {note_name_readonly}></td> -</tr> -<tr> - <td> - <textarea rows=20 cols=95 name="updates[body]" wrap=physical>{note_body}</textarea> - </td> -<tr> -</table> - -<table align="center"> -<tr> - <td align="center"> - <input type="HIDDEN" name="updates[record_id]" value="{record_id}"> - <input type="submit" name="{submit_name}" value="{submit_value}"> - </td> -</tr> -<!-- END owner_options --> -<tr> <td align="center"><a href='{goBackLink}'><b>GO BACK</b></a></td> </tr> </table> - -</td></tr></table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |