Author Topic: problem in item/steal.php  (Read 4154 times)

Offline feeble

problem in item/steal.php
« on: April 03, 2007, 10:27:39 am »
coding error in steal.php

the problem is in this line here
Code: [Select]
return 'Steal From: <input type="text" name="stealfrom" size="50" />
<a href="' . $scripturl . '?action=findmember;input=username;quote=0;sesc=' . $context['session_id'] . '" onclick="return reqWin(this.href, 350, 400);"><img src="' . $settings['images_url'] . '/icons/assist.gif" border="0" alt="' . $txt['find_members'] . '" /> Find Member</a><br />';

Offline JRSofty

Re: problem in item/steal.php
« Reply #1 on: April 03, 2007, 04:41:27 pm »
What error are you getting?

Offline Daniel15

Re: problem in item/steal.php
« Reply #2 on: April 03, 2007, 04:43:27 pm »
I thought this was fixed already? If not, I'll fix it as soon as possible.
JRSofty: The "Find Members" link has input=username in it, but the input box is actually called stealfrom.

EDIT: I also see another (minor) problem: I should wrap that in a <label> tag :)
EDIT 2: This also reminds me, I need to work on my new item file structure (I'm going to redesign how the SMFShop items work, but still leave some code for backwards compatibility. Basically, improve the item handling, and seperate all text into seperate language files)
« Last Edit: April 03, 2007, 04:45:52 pm by Daniel15 »

Offline JRSofty

Re: problem in item/steal.php
« Reply #3 on: April 03, 2007, 06:02:04 pm »
Wow at EDIT 2: when should we expect to see this? I'll need to know to update the items that I've created ;)

Offline Daniel15

Re: problem in item/steal.php
« Reply #4 on: April 05, 2007, 08:19:23 pm »
Quote
Wow at EDIT 2: when should we expect to see this?
Probably not for a while, I haven't had much free time recently (even though it's school holidays at the moment, I have so much holiday homework to do! :()

Note that all previous items should be backwards compatible. I'm not exactly sure what I'll be changing, or how to approach it, so it may take a while :P
« Last Edit: April 05, 2007, 08:21:18 pm by Daniel15 »