mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
Issue #1512 - Saving of config menu parameters corrected.
This commit is contained in:
parent
aaa842fab0
commit
dfd9c9e3fc
@ -88,7 +88,7 @@ if(strpos(e_QUERY, 'configure') !== FALSE || vartrue($_GET['enc']))
|
||||
|
||||
// e107::css('core', 'core/admin.css', 'jquery');
|
||||
// e107::js('core', 'core/admin.jquery.js', 'jquery', 4);
|
||||
e107::js('core','bootstrap/js/bootstrap-tooltip.js');
|
||||
// e107::js('core','bootstrap/js/bootstrap-tooltip.js');
|
||||
|
||||
|
||||
|
||||
@ -143,8 +143,8 @@ TEMPL;
|
||||
window.parent.$('#uiModal .modal-caption').text(caption);
|
||||
window.parent.$('#uiModal .modal-body').load(link, function(){
|
||||
|
||||
window.parent.$('.modal-body .e-save').on('change', function(){
|
||||
|
||||
window.parent.$('.modal-body :input').on('change', function(){
|
||||
|
||||
var target = window.parent.$('#e-save-form').attr('action');
|
||||
var data = window.parent.$('#e-save-form').serialize();
|
||||
|
||||
|
@ -1593,9 +1593,9 @@ class e_menuManager {
|
||||
}
|
||||
|
||||
$editLink = e_SELF."?enc=".base64_encode('lay='.$this->curLayout.'&parmsId='.$menu_id.'&iframe=1');
|
||||
$text .= '<a data-modal-caption="Configure parameters" class="e-menumanager-option menu-btn e-tip" target="_top" href="'.$editLink.'" title="Configure parameters"><i class="S16 e-edit-16" ></i></a>';
|
||||
$text .= '<a data-modal-caption="Configure parameters" class="e-menumanager-option menu-btn" target="_top" href="'.$editLink.'" title="Configure parameters"><i class="S16 e-edit-16" ></i></a>';
|
||||
|
||||
$text .= '<a title="'.LAN_DELETE.'" id="remove-'.$menu_id.'-'.$menu_location.'" class="e-tip delete e-menumanager-delete menu-btn" href="'.e_SELF.'?configure='.$this->curLayout.'&mode=deac&id='.$menu_id.'"><i class="S16 e-delete-16"></i></a>
|
||||
$text .= '<a title="'.LAN_DELETE.'" id="remove-'.$menu_id.'-'.$menu_location.'" class="delete e-menumanager-delete menu-btn" href="'.e_SELF.'?configure='.$this->curLayout.'&mode=deac&id='.$menu_id.'"><i class="S16 e-delete-16"></i></a>
|
||||
|
||||
<span id="status-'.$menu_id.'" style="display:none">'.($rep == true ? "" : "insert").'</span>
|
||||
</span></div>';
|
||||
|
@ -2802,7 +2802,7 @@ class e_db_mysql
|
||||
$mes->addDebug("Error writing file: ".e_CACHE_DB.$tableName.'.php'); //Fix for during v1.x -> 2.x upgrade.
|
||||
// echo "Error writing file: ".e_CACHE_DB.$tableName.'.php'.'<br />';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -106,7 +106,7 @@ class news_menu_form extends e_form
|
||||
foreach($arr as $k=>$v)
|
||||
{
|
||||
|
||||
$text .= "<tr><td>".$this->radio('layout', $k, $curVal, array('label'=>$k))."</td><td>".str_replace('{STYLE}',"class='alert alert-info' style='margin-bottom:0;text-align:center' ",$v)."</td></tr>";
|
||||
$text .= "<tr><td>".$this->radio('layout', $k, ($curVal == $k), array('label'=>$k)."</td><td>".str_replace('{STYLE}',"class='alert alert-info' style='margin-bottom:0;text-align:center' ",$v)."</td></tr>";
|
||||
}
|
||||
|
||||
$text .= "</table>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user