// Context part 5

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7624 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-13 15:24:38 +00:00
parent 39e2b09219
commit e5c68ba9ae
89 changed files with 417 additions and 441 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ class AdminPayment extends AdminTab
$values[] = '('.(int)$module->id.', '.Context::getContext()->shop->getID().', '.(int)$selected.')';
if (sizeof($values))
Db::getInstance()->Execute('INSERT INTO '._DB_PREFIX_.'module_'.$type.' (`id_module`, `id_shop`, `id_'.$type.'`) VALUES '.implode(',', $values));
Tools::redirectAdmin($currentIndex.'&conf=4'.'&token='.$this->token);
Tools::redirectAdmin(self::$currentIndex.'&conf=4'.'&token='.$this->token);
}
public function display()
@@ -141,7 +141,7 @@ class AdminPayment extends AdminTab
$irow = 0;
echo '
<form action="'.$currentIndex.'&token='.$this->token.'" method="post" id="form_'.$nameId.'">
<form action="'.self::$currentIndex.'&token='.$this->token.'" method="post" id="form_'.$nameId.'">
<fieldset>
<legend><img src="../img/admin/'.$icon.'.gif" />'.$title.'</legend>
<p>'.$desc.'<br />'.$this->youEditFieldFor().'<p>