21 | 11 | 2024
Main menu
Login/Logout
 
Contacts
Реклама
Our button

Блог Ecolora

Код:

<a href="http://www.ecolora.com" target="_blank" rel="nothing" title="Ecolora.com"><img alt="Ecolora.com" height="31" src="http://www.ecolora.com/images/ecoloracom.gif" width="88" /></a>
Who's online

We have 52 guests and no members online

Лента новостей

Newsletter
Welcome, Guest
Username: Password: Remember me
Component and plugin for musical sites / Компонент для музыкальных сайтов и улучшенная версия плагина MP3 Browser

TOPIC: Commedia front end upload buttons

Commedia front end upload buttons 10 years 5 months ago #7024

  • hawkready
  • hawkready's Avatar
  • Offline
  • Новый участник
  • Posts: 1
  • Karma: 0
Hello I have a simple question I need to move the upload buttons to the top of the page can you let me no what I need to do to do that pleas. thanks in advance
Untagged Beats @ Ballhousemsic.com
Last Edit: 10 years 5 months ago by hawkready.
The administrator has disabled public write access.

Commedia front end upload buttons 10 years 5 months ago #7025

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
Hello,

The code for uploading is in plugins/content/commedia/commedia.php:
if(($ftht == 0) && (($alowUp == 1) || (($alowUp == 2) && ($UpAcc)))) {
		 	$html.='<p><div id="divcommfiles'.$commcount.'"></div>
		 	       <input id="commfiles'.$commcount.'" name="commfiles" type="file" />';
            if ($UpAcc) $html.='
		 	        <div class="uploadify" style="position: relative; width: 120px;">
		 	        <div class="uploadifyButton">
                     <span class="uploadifyButtonText" onclick="javascript:'.$jqp.'(\'#commfiles'.$commcount.'\').uploadifyUpload(\'*\');">'.JTEXT::_('COMMEDIA_UPLOAD_FILES').'</span>
                    </div>
                   </div><div style="clear:both;"></div>';
  		    //else $html.='&nbsp;<a title="'.JTEXT::_('COMMEDIA_UPLOAD_FILES').'" class="modal" rel="{handler: \'iframe\', size: {x: 300, y: 100}}"  href="'.$mosConfig_live_site.'index.php?option=com_commedia&format=raw&task=vote&yon=4" target="_blank">'.JTEXT::_('COMMEDIA_UPLOAD_FILES').'</a>';
            else $html.='&nbsp;<a class="commrestr" href="'.$mosConfig_live_site.'index.php?option=com_commedia&format=raw&task=vote&yon=4">'.JTEXT::_('COMMEDIA_UPLOAD_FILES').'</a>';
            $html.='</p>		 	       ';
		 }

You can move it upper, for example, above the:
//print table headers
		$html.='<table width="'.$tableWidth.'" cellspacing="0" cellpadding="0" border="0" class="commedia">';
The administrator has disabled public write access.
Time to create page: 0.689 seconds
for children older than 12 years