Dotclear

Changeset 2252:d345192f169f


Ignore:
Timestamp:
10/04/13 14:06:19 (11 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
dcRepo
Children:
2259:6aaea2c2e0f7, 2260:592e42e0b7fb
Message:

Add redir param on plugin configuration page

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r2241 r2252  
    15831583     font-size: 1.33em; 
    15841584     } 
    1585 input { 
     1585.box.theme input { 
    15861586     margin-bottom: 1em; 
    15871587     } 
  • inc/admin/lib.moduleslist.php

    r2241 r2252  
    10361036     { 
    10371037          if ($this->config_file) { 
     1038               $redir = empty($_REQUEST['redir']) ? $this->getURL().'#plugins' : $_REQUEST['redir']; 
    10381039 
    10391040               if (!$this->config_module['standalone_config']) { 
     
    10411042                    '<form id="module_config" action="'.$this->getURL('conf=1').'" method="post" enctype="multipart/form-data">'. 
    10421043                    '<h3>'.sprintf(__('Configure plugin "%s"'), html::escapeHTML($this->config_module['name'])).'</h3>'. 
    1043                     '<p><a class="back" href="'.$this->getURL().'#plugins">'.__('Back').'</a></p>'; 
     1044                    '<p><a class="back" href="'.$redir.'">'.__('Back').'</a></p>'; 
    10441045               } 
    10451046 
     
    10501051                    '<p class="clear"><input type="submit" name="save" value="'.__('Save').'" />'. 
    10511052                    form::hidden('module', $this->config_module['id']). 
     1053                    form::hidden('redir', $redir). 
    10521054                    $this->core->formNonce().'</p>'. 
    10531055                    '</form>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map