Falko Timme
2014-05-03 558b543b6eda1d3532e38bd48e93304259a2f166
interface/web/client/client_template_edit.php
@@ -51,6 +51,19 @@
class page_action extends tform_actions {
   function onSubmit() {
      global $app;
      //* Resellers shall not be able to create another reseller or set reseller specific settings
      if($_SESSION["s"]["user"]["typ"] == 'user') {
         $this->dataRecord['limit_client'] = 0;
         $this->dataRecord['limit_domainmodule'] = 0;
      }
      parent::onSubmit();
   }
   function onBeforeUpdate() {
      global $app;