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: Ending input tag brackets in several files  (Read 3821 times)

0 Members and 1 Guest are viewing this topic.

kaptainkory

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Posts: 51
Ending input tag brackets in several files
« on: August 05, 2005, 11:56:33 pm »

In albmgr.php, FIND (line 357):

Code: [Select]
        <input type="hidden" name="delete_album" value="">
        <input type="hidden" name="sort_order" value="<?php echo $sort_order ?>">

REPLACE WITH:

Code: [Select]
        <input type="hidden" name="delete_album" value="" />
        <input type="hidden" name="sort_order" value="<?php echo $sort_order ?>" />

FIND (line 421):

Code: [Select]
                                <input type="text" name="album_nm" size="27" maxlength="80" class="textinput" style="width: 300px;" onChange="Album_NameChange(this.value);" onKeyUp="Album_NameChange(this.value);">
REPLACE WITH:

Code: [Select]
                                <input type="text" name="album_nm" size="27" maxlength="80" class="textinput" style="width: 300px;" onChange="Album_NameChange(this.value);" onKeyUp="Album_NameChange(this.value);" />
FIND (line 431):

Code: [Select]
        <input type="submit" class="button" value="<?php echo $lang_albmgr_php['apply_modifs'?>">
REPLACE WITH:

Code: [Select]
        <input type="submit" class="button" value="<?php echo $lang_albmgr_php['apply_modifs'?>" />
In catmgr.php, FIND (line 131):

Code: [Select]
                        <input type="hidden" name="thumb" value="0">
REPLACE WITH:

Code: [Select]
                        <input type="hidden" name="thumb" value="0" />
FIND (line 434):

Code: [Select]
        <input type="hidden" name="cid" value ="{$current_category['cid']}">
REPLACE WITH:

Code: [Select]
        <input type="hidden" name="cid" value ="{$current_category['cid']}" />
FIND (line 448):

Code: [Select]
                <input type="text" style="width: 100%" name="name" value="{$current_category['name']}" class="textinput">
REPLACE WITH:

Code: [Select]
                <input type="text" style="width: 100%" name="name" value="{$current_category['name']}" class="textinput" />
FIND (line 466):

Code: [Select]
                <input type="submit" value="{$lang_catmgr_php['update_create']}" class="button">
REPLACE WITH:

Code: [Select]
                <input type="submit" value="{$lang_catmgr_php['update_create']}" class="button" />

The pattern continues for the following files and lines:

banning.php: 79, 80, 83, 90, 92, 301, 329

charsetmgr.php: 195, 196

db_card.php: 238, 252, 253, 256, 257

ecard.php: 48, 228, 248, 256, 265, 286, 288

editpics.php: 228, 273, 274, 275, 276, 277, 294, 304, 619

groupmgr.php: 76, 373, 384, 385, 388

image_processor.php: 637-648, 653-656, 658, 955-965, 971

install.php: 231, 259, 306, 313, 320, 335, 342, 349, 356, 363, 379, 384, 411-412 (ending brackets missing completely!), 413

keywordmgr.php: 88-89

minibrowser.php: 249-250

modifyalb.php: 95, 107, 121, 123, 142, 205, 303, 320, 331, 499-500, 550-551, 565, 591, 597 (ending bracket missing completely!)


Whew, okay, I'm tired.  There are more to fix, but just search for "<input " in the following files to find the rest:

picEditor.php, picmgr.php, register.php, relocate_server.php, report_file.php, searchnew.php, xp_publish.php, update.inc.php



Thanks.
« Last Edit: August 07, 2005, 08:58:34 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Ending input tag brackets in several files
« Reply #1 on: August 07, 2005, 08:58:06 am »

thanks for your suggestions. Committed to cvs.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.