Changeset 3239

Show
Ignore:
Timestamp:
11/28/06 15:57:56 (5 years ago)
Author:
gregmac
Message:

Add 'return' button to module admin, cancel button on confim page only goes online if it was previously online

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/page.modules.php

    r3169 r3239  
    283283    } 
    284284    echo "</div>"; 
     285    echo "\t<input type=\"button\" value=\""._("Return")."\" onclick=\"location.href = 'config.php?display=modules&amp;type=tool&amp;online=".($_REUQEST['online']?1:0)."';\" />"; 
    285286  break; 
    286287  case 'confirm': 
     
    344345      echo "<p>"._("Please select at least one action to perform by clicking on the module, and selecting an action on the \"Action\" tab.")."</p>"; 
    345346    } 
    346     echo "\t<input type=\"button\" value=\""._("Cancel")."\" onclick=\"location.href = 'config.php?display=modules&amp;type=tool&amp;online=1';\" />"; 
     347    echo "\t<input type=\"button\" value=\""._("Cancel")."\" onclick=\"location.href = 'config.php?display=modules&amp;type=tool&amp;online=".($_REUQEST['online']?1:0)."';\" />"; 
    347348     
    348349    echo "</form>";