plugins/admin/PageGroups.php
changeset 750 650924c35957
parent 685 17ebe24cdf85
child 801 eb8b23f11744
equal deleted inserted replaced
749:ea3045a3bcbd 750:650924c35957
   253           document.getElementById('pg_create_title_normal').style.display = 'inline';
   253           document.getElementById('pg_create_title_normal').style.display = 'inline';
   254           document.getElementById('pg_create_normal_1').style.display = 'block';
   254           document.getElementById('pg_create_normal_1').style.display = 'block';
   255           document.getElementById('pg_create_normal_2').style.display = 'block';
   255           document.getElementById('pg_create_normal_2').style.display = 'block';
   256         }
   256         }
   257         
   257         
   258         addOnloadHook(pg_createform_init);
       
   259         
       
   260         function pg_create_more_fields()
   258         function pg_create_more_fields()
   261         {
   259         {
   262           var targettd = document.getElementById('pg_create_normal_2');
   260           var targettd = document.getElementById('pg_create_normal_2');
   263           var id = 0;
   261           var id = 0;
   264           for ( var i = 0; i < targettd.childNodes.length; i++ )
   262           for ( var i = 0; i < targettd.childNodes.length; i++ )
   412             
   410             
   413       echo '</table>
   411       echo '</table>
   414             </div>';
   412             </div>';
   415       
   413       
   416       echo '</form>';
   414       echo '</form>';
       
   415       
       
   416       echo '<script type="text/javascript">pg_createform_init();</script>';
   417       return;
   417       return;
   418     }
   418     }
   419     else if ( isset($_POST['action']['del']) )
   419     else if ( isset($_POST['action']['del']) )
   420     {
   420     {
   421       // Confirmation to delete a group (this is really only a stub)
   421       // Confirmation to delete a group (this is really only a stub)