Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
VAOZ

Новый кнопки для каталога файлов

Recommended Posts

Находим в каталоге файлов\ Страница материала и комментариев к нему\ там находите :
 

<?if($FILE_URL$)?><a href="$FILE_URL$">Скачать с сервера</a> ($FILE_SIZE$)<?endif?>  
<?if($RFILE_URL$)?> · <a href="$RFILE_URL$" target="_blank">Скачать удаленно</a> ($RFILE_SIZE$)<?endif?>


Меняете на :

<?if($FILE_URL$)?><input type="button" onclick="window.location='$FILE_URL$'"<input type="button" VALUE="Скачать с сервера($FILE_SIZE$)" onClick="openLayerB(');"><?endif?>  
<?if($RFILE_URL$)?><input type="button" onclick="window.location='$RFILE_URL$'"<input type="button" VALUE="Скачать с зеркала($RFILE_SIZE$)" onClick="openLayerB(');"><?endif?>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×