|
<script language="javascript" type="text/javascript"> |
|
<!-- |
|
var sectioncategories = new Array; |
|
sectioncategories[0] = new Array( '-1','-1','Wybierz kategoriÄ' ); |
|
sectioncategories[1] = new Array( '0','0','Nieprzypisany' ); |
|
sectioncategories[2] = new Array( '1','38','DomainChat.pl - mini serwis o domenach.' ); |
|
sectioncategories[3] = new Array( '1','1','Nowiny' ); |
|
sectioncategories[4] = new Array( '1','25','Projekt' ); |
|
sectioncategories[5] = new Array( '1','3','Migawki' ); |
|
|
|
function submitbutton(pressbutton) |
|
{ |
|
var form = document.adminForm; |
|
|
|
if ( pressbutton == 'menulink' ) { |
|
if ( form.menuselect.value == "" ) { |
|
alert( "Wybierz menu" ); |
|
return; |
|
} else if ( form.link_name.value == "" ) { |
|
alert( "Wpisz tytuĹ tej pozycji menu" ); |
|
return; |
|
} |
|
} |
|
|
|
if (pressbutton == 'cancel') { |
|
submitform( pressbutton ); |
|
return; |
|
} |
|
|
|
// do field validation |
|
var text = <br /> |
|
<b>Fatal error</b>: Call to a member function update() on a non-object in <b>/home/domainch/domains/domainchat.pl/public_html/libraries/joomla/html/editor.php</b> on line <b>203</b><br /> |
|