
July 6th, 2006, 07:11 AM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
Can someone please change this code for me, should be easy
I'm using phpnuke, and need the link to redirect if the person is not signed in as a user. The code was changed to do this for a different file so I need it to be changed for the one I need.
The code used to be this
Code:
href="{$SELF}?name={$MODULE}&op=videos&list=most_recent">{$LANGUAGES.Recent_Videos}</a></strong></td>
<td align=center><strong><a href="{$SELF}?name={$MODULE}&op=submit_video">{$LANGUAGES.Submit_Video}</a></strong></td>
and was changed to this
Code:
href="{$SELF}?name={$MODULE}&op=submit_video">{$LANGUAGES.Submit_Video}</a></strong></td>
{else}
<td align=center><strong><a href="{$SELF}?name=Your_Account&op=new_user">{$LANGUAGES.Submit_Video}</a></strong></td>
{/if}
Now I need this code to be changed to redirect to modules.php?name=Your_Account&op=new_user if the person isn't signed in like it does in the above code
Code:
."<img src="themes/LightBlue/images/icon_dot.gif" border=0 align="center"> <A href="modules.php?name=Video&op=submit_video">Submit Video</a> n"
|