|
|
myk
Jr. Member
Posts: 99
I'm a llama! *spit*
|
|
Re:[BETA] Quick admin
« Reply #17 on: May 30, 2002, 12:25:19 PM » |
|
OOK! OOK! I KNOW! geez. i actually figured something out for once! okay, the code that says EOT; if (($MenuType == 0) AND (($settings[7] == "Administrator") OR ($settings[7] == "Global Moderator"))) { print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qaimg[1]</a> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qaimg[2]</a> <a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qaimg[3]</a> <a href=\"$cgi;action=removethread2;threadid=$mnum\">$qaimg[4]</td>"; } if (($MenuType == 1) AND (($settings[7] == "Administrator") OR ($settings[7] == "Global Moderator"))) { print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qatxt[1]</a> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qatxt[2]</a> <a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qatxt[3]</a> <a href=\"$cgi;action=removethread2;threadid=$mnum\">$qatxt[5]</a></td"; } print <<<EOT should be changed to if (($MenuType == 0) AND (($settings[7] == "Administrator") OR ($settings[7] == "Global Moderator"))) { print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><table width=\"100%\"> <tr> <td ><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qaimg[1]</a></td><td> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qaimg[2]</a></td> <td ><a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qaimg[3]</a></td><td> <a href=\"$cgi;action=removethread2;threadid=$mnum\">$qaimg[4]</td> </tr> </table> </td>"; } if (($MenuType == 1) AND (($settings[7] == "Administrator") OR ($settings[7] == "Global Moderator"))) { print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><table width=\"100%\"> <tr> <td ><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qatxt[1]</a></td><td> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qatxt[2]</a></td> <td ><a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qatxt[3]</a></td><td> <a href=\"$cgi;action=removethread2;threadid=$mnum\">$qatxt[5]</a></td> </tr> </table> </td"; } print <<<EOT
which will give us you can add </tr><tr> after each line that says $qatxt[2]</a></td> to get now, i know this is probably the most bloated code to do something simple, but hey, it works and i actually figured it out on my own. im so proud of me *sniff* PS, this is basically "clean" text so you ~can~ copy and past if you want...
|
|
|
Logged
|
claimed mods: none. the world is better off with me on the receiving end of mods rather than the giving end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|