Advanced search  

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]

Pages: [1]   Go Down

Author Topic: XP Publish - Rearranged Select Boxes  (Read 2430 times)

0 Members and 1 Guest are viewing this topic.

philipmatarese

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • matarese.org - the pictures
XP Publish - Rearranged Select Boxes
« 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>
Logged
Pages: [1]   Go Up
 

Page created in 0.047 seconds with 20 queries.