This commit is contained in:
IMRAN HASSAN 2014-05-12 06:58:39 +00:00
parent 8046bb8cea
commit c4919e7270
2 changed files with 10 additions and 1 deletions

View file

@ -18,7 +18,7 @@ $cbLinks = array
'login_success' =>array('login_success.php','login_success.php'),
'logout' =>array('logout.php','logout.php'),
'logout_success'=>array('logout_success.php','logout_success.php'),
'my_account' =>array('myaccount.php','my_account'),
'my_account' =>array('myaccount.php?user=','my_account'),
'my_videos' =>array('manage_videos.php','manage_videos.php'),
'my_favorites' =>array('manage_videos.php?mode=favorites','manage_videos.php?mode=favorites'),
'my_playlists' =>array('manage_playlists.php','manage_playlists.php'),

View file

@ -522,4 +522,13 @@
}
return 'check_remote_url()';
}
if(!function_exists('plug_url')){
function plug_url($file,$dir,$admin_base=false)
{
$url = 'plugin.php?folder='.$dir.'&file='.$file;
if($admin_base)
$url = ADMIN_BASEURL.'/'.$url;
return $url;
}
}
?>