Author: nick Date: 2006-08-24 16:51:17 +0100 (Thu, 24 Aug 2006) New Revision: 842
Added: trunk/templates/node_photo_notes.tt Modified: trunk/MANIFEST trunk/templates/edit_form.tt Log: Allow the inclusion of a note next to the node photo, to be shown if enabled, and supply a default note
Modified: trunk/MANIFEST =================================================================== --- trunk/MANIFEST 2006-08-24 15:45:37 UTC (rev 841) +++ trunk/MANIFEST 2006-08-24 15:51:17 UTC (rev 842) @@ -50,6 +50,7 @@ templates/newpage.tt templates/node.tt templates/node_history.tt +templates/node_photo_notes.tt templates/openguides_information_boxes.tt templates/plain_index.tt templates/preferences.tt
Modified: trunk/templates/edit_form.tt =================================================================== --- trunk/templates/edit_form.tt 2006-08-24 15:45:37 UTC (rev 841) +++ trunk/templates/edit_form.tt 2006-08-24 15:51:17 UTC (rev 842) @@ -61,7 +61,10 @@ [% IF config.enable_node_image %] <tr> <td class="label"><label for="node_image">Node Image:</label></td> - <td><input type="text" size="50" id="node_image" name="node_image" value="[% node_image %]" /></td> + <td> + <input type="text" size="50" id="node_image" name="node_image" value="[% node_image %]" /> + [% INCLUDE node_photo_notes.tt %] + </td> </tr> [% END %] <tr>
Added: trunk/templates/node_photo_notes.tt =================================================================== --- trunk/templates/node_photo_notes.tt 2006-08-24 15:45:37 UTC (rev 841) +++ trunk/templates/node_photo_notes.tt 2006-08-24 15:51:17 UTC (rev 842) @@ -0,0 +1,5 @@ +<br /> +<span class="photo_note" id="photo_note"> + Photos should be no larger than 320x240 +</span> +<br />
openguides-commits@lists.openguides.org