XP Publish - Rearranged Select Boxes XP Publish - Rearranged Select Boxes
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

XP Publish - Rearranged Select Boxes

Started by philipmatarese, September 11, 2006, 10:56:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

philipmatarese

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:
                <td>&nbsp;</td>
        </tr>
<!-- END existing_albums -->

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


Find this code:
    <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:
<!-- 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>