(#1)
c0rrupt Offline
Administrator
 
Posts: 185
Join Date: Mar 2010
Location: Canada
select All Type (submit page) - 04-17-2010, 08:00 AM

Open submit.php

Find:
PHP Code:
</head
Paste Befor:

PHP Code:
<script type="text/javascript">
<!--
function 
selectAll() {
  
void(d=document);
  
void(el=d.getElementsByTagName('INPUT'));

  for(
i=0;i<el.length;i++)
  
void(el[i].checked=1)
}


function 
UnselectAll() {
  
void(d=document);
  
void(el=d.getElementsByTagName('INPUT'));

  for(
i=0;i<el.length;i++)
  
void(el[i].checked=0)
}

function 
slctall() {
var 
se document.getElementsByName("type[]");

  for(var 
i=0i<se.lengthi++) {
   
se[i].value document.getElementById("suBtype").value;
  }
}
//-->
</script> 

Find:

Code:
<tr><td>Title</td><td>URL</td><td>Type</td></tr>

Paste After:


PHP Code:
<tr><td colspan="3" align="right"><select id="suBtype" onchange="slctall(this.id);this.blur();" style="font-size:10px;padding:2px;">
<option value="" selected="selected">Select All</option>
<?php foreach($core->allowed_types as $at) { echo '<option value="'.$at.'">'.$at.'</option>'; } ?></select></td></tr>


Before doing any edits to your DDL Site always make a BACKUP first.
(#2)
nirav5300 Offline
 
Posts: 7
Join Date: Apr 2010
Re: select All Type (submit page) - 04-27-2010, 11:10 AM

thanks working gr8
(#3)
c0rrupt Offline
Administrator
 
Posts: 185
Join Date: Mar 2010
Location: Canada
Re: select All Type (submit page) - 04-27-2010, 11:22 AM

no prbs mate


Before doing any edits to your DDL Site always make a BACKUP first.

Bookmarks

Tags
page, select, submit, type

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin


Content Relevant URLs by vBSEO