forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: philipmatarese on September 11, 2006, 10:56:44 pm

Title: XP Publish - Rearranged Select Boxes
Post by: philipmatarese on September 11, 2006, 10:56:44 pm
I've rearranged the screen that allows you to choose or create an album to a way that was easier for my mom to understand.  My gallery is set up so that each user has a category set up just for them - I don't know if everyone would want the choices in this order.

All changes are to xp_publish.php.



Find this code:
Code: [Select]
                <td>&nbsp;</td>
        </tr>
<!-- END existing_albums -->
Change to this code:
Code: [Select]
                <td colspan="2" align=center><br />- or -<br />&nbsp;</td>
        </tr>
<!-- END existing_albums -->

Find this code:
Code: [Select]
    <tr>
                <td>{ALBUM}: &nbsp;</td>
                <td><input type="text" id="newAlbName" name="new_alb_name" value="" maxlength="255" /></td>
        </tr>
<!-- BEGIN select_category -->
        <tr>
                <td>{CATEGORY}: &nbsp;</td>
                <td><select name="cat">{SELECT_CATEGORY}</select></td>
        </tr>
<!-- END select_category -->
Change to this code:
Code: [Select]
<!-- BEGIN select_category -->
        <tr>
                <td>{CATEGORY}: &nbsp;</td>
                <td><select name="cat">{SELECT_CATEGORY}</select></td>
        </tr>
<!-- END select_category -->
    <tr>
                <td>{ALBUM}: &nbsp;</td>
                <td><input type="text" id="newAlbName" name="new_alb_name" value="" maxlength="255" /></td>
        </tr>