Change update aspect

Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that

Change update aspect

Postby Subxero » Mon Aug 07, 2006 7:47 am

Hi i want try tu hide the officer part form same as hslist at main page...

original code
Code: Select all
$inputForm "
                <form action=\"update.php\" enctype=\"multipart/form-data\" method=\"POST\" onsubmit=\"submitonce(this)\">
$authFields
"
.border('syellow','start','Upload Files')."
                  <table class=\"bodyline\" cellspacing=\"0\" cellpadding=\"0\">
                    <tr>
                      <td class=\"membersRowRight1\" colspan=\"2\" align=\"center\"><div align=\"center\"><small>"
.$wordings[$roster_conf['roster_lang']]['lualocation']."</small></div></td>
                    </tr>
                    <tr>
                      <td class=\"membersRow2\" onmouseover=\"overlib('<b>CharacterProfiler.lua</b> "
.$wordings[$roster_conf['roster_lang']]['filelocation']."\\\\CharacterProfiler.lua',WRAP,RIGHT);\" onmouseout=\"return nd();\">CharacterProfiler.lua</td>
                      <td class=\"membersRowRight2\"><input type=\"file\" accept=\"CharacterProfiler.lua\" name=\"CharacterProfiler\"></td>
                    </tr>
$pvplogInputField
                    <tr>
                      <td class=\"membersRowRight1\" colspan=\"2\" align=\"center\"><div align=\"center\"><input type=\"submit\" value=\""
.$wordings[$roster_conf['roster_lang']]['upload']."\"></div></td>
                    </tr>
                  </table>
"
.border('syellow','end')."
<br />
"
.border('sgray','start','Officer Use Only')."
                  <table class=\"bodyline\" cellspacing=\"0\" cellpadding=\"0\">
                    <tr>
                      <td class=\"membersRow1\" onmouseover=\"overlib('"
.$wordings[$roster_conf['roster_lang']]['roster_upd_pw_help']."',CAPTION,'".$wordings[$roster_conf['roster_lang']]['roster_upd_pwLabel']."',WRAP,RIGHT);\" onmouseout=\"return nd();\">".$wordings[$roster_conf['roster_lang']]['roster_upd_pwLabel']."</td>
                      <td class=\"membersRowRight1\"><input type=\"password\" name=\"password\"></td>
                    </tr>
                    <tr>
                      <td class=\"membersRowRight2\" colspan=\"2\"><div align=\"center\"><input type=\"submit\" value=\""
.$wordings[$roster_conf['roster_lang']]['upload']."\"></div></td>
                    </tr>
                  </table>
"
.border('sgray','end')."
                </form>"


And i try to change to:
Code: Select all
$inputForm "
                <form action=\"update.php\" enctype=\"multipart/form-data\" method=\"POST\" onsubmit=\"submitonce(this)\">
$authFields
"
.border('syellow','start','Upload Files')."
                  <table class=\"bodyline\" cellspacing=\"0\" cellpadding=\"0\">
                    <tr>
                      <td class=\"membersRowRight1\" colspan=\"2\" align=\"center\"><div align=\"center\"><small>"
.$wordings[$roster_conf['roster_lang']]['lualocation']."</small></div></td>
                    </tr>
                    <tr>
                      <td class=\"membersRow2\" onmouseover=\"overlib('<b>CharacterProfiler.lua</b> "
.$wordings[$roster_conf['roster_lang']]['filelocation']."\\\\CharacterProfiler.lua',WRAP,RIGHT);\" onmouseout=\"return nd();\">CharacterProfiler.lua</td>
                      <td class=\"membersRowRight2\"><input type=\"file\" accept=\"CharacterProfiler.lua\" name=\"CharacterProfiler\"></td>
                    </tr>
$pvplogInputField
                    <tr>
                      <td class=\"membersRowRight1\" colspan=\"2\" align=\"center\"><div align=\"center\"><input type=\"submit\" value=\""
.$wordings[$roster_conf['roster_lang']]['upload']."\"></div></td>
                    </tr>
                  </table>
"
.border('syellow','end')."
<br />
<div id=\"OFFICER_col\">
"
.border('sgray','start','<div style=\"cursor:pointer;width:350px;\" onclick=\"swapShow('OFFICER_col','OFFICER_full')\"><img src=\"".$roster_conf['img_url']."plus.gif\" style=\"float:right;\" />Officer Use Only</div>')."
"
.border('sgray','end')."
</div>
<div id=\"OFFICER_full\" style=\"display:none;\">
"
.border('sgray','start','<div style=\"cursor:pointer;width:350px;\" onclick=\"swapShow('OFFICER_col','OFFICER_full')\"><img src=\"".$roster_conf['img_url']."minus.gif\" style=\"float:right;\" />Officer Use Only</div>')."
                  <table class=\"bodyline\" cellspacing=\"0\" cellpadding=\"0\">
                    <tr>
                      <td class=\"membersRow1\" onmouseover=\"overlib('"
.$wordings[$roster_conf['roster_lang']]['roster_upd_pw_help']."',CAPTION,'".$wordings[$roster_conf['roster_lang']]['roster_upd_pwLabel']."',WRAP,RIGHT);\" onmouseout=\"return nd();\">".$wordings[$roster_conf['roster_lang']]['roster_upd_pwLabel']."</td>
                      <td class=\"membersRowRight1\"><input type=\"password\" name=\"password\"></td>
                    </tr>
                    <tr>
                      <td class=\"membersRowRight2\" colspan=\"2\"><div align=\"center\"><input type=\"submit\" value=\""
.$wordings[$roster_conf['roster_lang']]['upload']."\"></div></td>
                    </tr>
                  </table>
"
.border('sgray','end')."
</div>
<!-- End OFFICER -->
</form>"


i known that problem was on quotes .. but i'm lost!!

Someone can help me ?
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Return to General Code Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron