[Spidertree-cvs] spidertree/templates spidertree_edit_image.tpl,NONE,1.1 spidertree_edit_album.tpl,1
Status: Pre-Alpha
Brought to you by:
spiderr
Update of /cvsroot/spidertree/spidertree/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20017/templates Modified Files: spidertree_edit_album.tpl spidertree_edit_album_info.tpl spidertree_upload.tpl Added Files: spidertree_edit_image.tpl Log Message: uploads now working, thumbnailing still non-existent --- NEW FILE: spidertree_edit_image.tpl --- {if $image.imid} <img src="{$image.file_url}" /> imid: {$image.imid} {/if} Index: spidertree_edit_album.tpl =================================================================== RCS file: /cvsroot/spidertree/spidertree/templates/spidertree_edit_album.tpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- spidertree_edit_album.tpl 7 Feb 2004 16:21:28 -0000 1.1.1.1 +++ spidertree_edit_album.tpl 9 Feb 2004 06:23:03 -0000 1.2 @@ -1,18 +1,37 @@ -{if $FORM.ALID} +{if $FORM.alid} <form enctype="multipart/form-data" method="post" action="album.php" id="editpageform"> -<input type="hidden" name="FORM[ALID]" value="{$FORM.ALID}" /> -<table class="stdialog" border="0"> +<input type="hidden" name="FORM[alid]" value="{$FORM.alid}" /> +<table class="stdialog" border="0" cellpadding="3"> <tr> <td colspan="2" class="stdialogtop"> <h2>Album: {$FORM.title}</h2> <span class="stsubmenu"> - <a href="upload.php?fALID={$FORM.ALID}">Add Photos</a> <b>|</b> - <a href="album.php?fAlbumEditInfo=1&fALID={$FORM.ALID}">Edit Album Info</a> <b>|</b> + <a href="upload.php?fALID={$FORM.alid}">Add Photos</a> <b>|</b> + <a href="album.php?fAlbumEditInfo=1&fALID={$FORM.alid}">Edit Album Info</a> <b>|</b> <a href="">Move</a>, <a href="">Copy</a>, <a href="">Delete</a>, or <a href="">Edit</a> Checked Photos<b>|</b> </span> </td> </tr> + +<tr> + <td colspan="2"> + +<table cellpadding="5"> +<tr> +{section name=ix loop=$images} + <td align="center"><a href="image.php?fIMID={$images[ix].image_id}"><img src="{$images[ix].file_url}" border="0"/><br />{$images[ix].title}</a> + </td> +{sectionelse} + <td align="center"> + <img src="{$tiki_url.spidertree_url}images/empty_album.gif" border="0"/><br />No Images + </td> +{/section} +</tr> +</table> + + </td> +</tr> <tr> <td colspan="2" class="stdialogbottom"> <input type="submit" name="fAlbumSave" value="Save Album" class="stbutton" /> Index: spidertree_edit_album_info.tpl =================================================================== RCS file: /cvsroot/spidertree/spidertree/templates/spidertree_edit_album_info.tpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- spidertree_edit_album_info.tpl 7 Feb 2004 16:21:28 -0000 1.1.1.1 +++ spidertree_edit_album_info.tpl 9 Feb 2004 06:23:03 -0000 1.2 @@ -1,9 +1,9 @@ <form enctype="multipart/form-data" method="post" action="album.php" id="editpageform"> -<input type="hidden" name="FORM[ALID]" value="{$FORM.ALID}" /> +<input type="hidden" name="FORM[alid]" value="{$FORM.alid}" /> <table class="stdialog" border="0"> <tr> - <td colspan="2" class="stdialogtop"><h2>{if $FORM.ALID}Edit Album: {$FORM.title}{else}Create New Album{/if}</h2></td> + <td colspan="2" class="stdialogtop"><h2>{if $FORM.alid}Edit Album: {$FORM.title}{else}Create New Album{/if}</h2></td> </tr> <tr> <td colspan="2"><h3>Name and Description</h3></td> @@ -80,7 +80,7 @@ <input type="submit" name="fAlbumSave" value="Save Album" class="stbutton" /> </form> <form enctype="multipart/form-data" method="post" action="album.php" id="editpageform"> -<input type="hidden" name="FORM[ALID]" value="{$FORM.ALID}" /> +<input type="hidden" name="FORM[alid]" value="{$FORM.alid}" /> <input type="submit" name="fAlbumCancel" value="Cancel" class="stbutton" /> </td> </form> Index: spidertree_upload.tpl =================================================================== RCS file: /cvsroot/spidertree/spidertree/templates/spidertree_upload.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- spidertree_upload.tpl 8 Feb 2004 02:20:31 -0000 1.3 +++ spidertree_upload.tpl 9 Feb 2004 06:23:03 -0000 1.4 @@ -1,6 +1,6 @@ <form enctype="multipart/form-data" method="post" action="upload.php" id="editpageform"> -<input type="hidden" name="FORM[ALID]" value="{$album.ALID}" /> +<input type="hidden" name="FORM[alid]" value="{$album.alid}" /> <table class="stdialog" border="0"> <tr> <td colspan="2" class="stdialogtop"> @@ -11,16 +11,42 @@ {assign var="rows" value=10} {section name=ix loop=$rows} <tr> - <td align="right" valign="center">New Photo {$smarty.section.ix.rownum}:</td> + <td align="right" valign="center" nowrap="nowrap">New Photo {$smarty.section.ix.rownum}:</td> <td><input type="file" size="40" name="UPLOAD[{$smarty.section.ix.rownum}]" /></td> </tr> {/section} <tr> + <td colspan="2"></td> +</tr> +<tr> + <td colspan="2"><b>Downsize Images:</b></td> +</tr> +<tr> + <td colspan="2"> + <p>If you would like to resize your original image, select the maximum size below. + <br/>NOTE: This will only shrink the image if it is larger than the selected size. If your image is already smaller than the selected size, it will not be resized at all. +</p>Reduce size to: +<select> +<option value="">Don't Resize</option> +<option value="640">0.3 MegaPixel ( 640 x 480 )</option> +<option value="640">0.8 MegaPixel ( 1024 x 768 )</option> +<option value="1280">1.3 MegaPixel ( 1280 x 1024 )</option> +<option value="1600">2.1 MegaPixel ( 1600 x 1200 )</option> +<option value="2048">3.3 MegaPixel ( 2048 x 1536 )</option> +<option value="2272">4.1 MegaPixel ( 2272 x 1704 )</option> +<option value="2560">5.2 MegaPixel ( 2560 x 1920 )</option> +<option value="2800">6.3 MegaPixel ( 2800 x 2100 )</option> +<option value="3000">7.0 MegaPixel ( 3000 x 2300 )</option> +<option value="3264">8.0 MegaPixel ( 3264 x 2448 )</option> +</select> + </td> +</tr> +<tr> <td colspan="2" class="stdialogbottom"> <input type="submit" name="fAlbumUpload" value="Add Now" class="stbutton" /> </form> <form enctype="multipart/form-data" method="post" action="album.php" id="editpageform"> -<input type="hidden" name="FORM[ALID]" value="{$album.ALID}" /> +<input type="hidden" name="FORM[alid]" value="{$album.alid}" /> <input type="submit" name="fAlbumCancel" value="Cancel" class="stbutton" /> </td> </form> |