예제 #1
0
파일: SIS4B.php 프로젝트: demental/m
 function fetch()
 {
     $res = '<form id="sis4bform" method="POST" action="' . $this->getOption('request_url') . '" />';
     $res .= '<input type="hidden" name="var1" value="' . $this->getOrderId() . '" />';
     $res .= '<input type="hidden" name="var2" value="' . $this->getOption('merchant_id') . '" />';
     $res .= '<input type="hidden" name="var3" value="' . T::getLocale() . '" />';
     $button = $this->getOption('button');
     if ($button) {
         $res .= $button;
     } else {
         $res .= '<input type="submit" name="__submit__" value="' . __('Valider') . '" />';
     }
     $res .= '</form>';
     return $res;
 }
예제 #2
0
파일: error.php 프로젝트: demental/m
<!DOCTYPE html>
<html lang="<?php 
echo T::getLocale();
?>
">
	<head>
	  <meta charset="utf-8" />
	  <title><?php 
echo $adminTitle;
?>
</title>
  	<link rel="stylesheet" type="text/css" media="screen,print" href="/css/reset-fonts-grids.css" />

  	<link rel="stylesheet" type="text/css" media="screen,print" href="/css/styleforms.css" />
  	<link rel="stylesheet" type="text/css" media="screen,print" href="/css/style_admin.css" />
  </head>
  <body>
		<div id="doc3">

    <div id="bd">
      <div class="global_error">
        <h1><?php 
_e('title.error');
?>
</h1>
        <?php 
$this->i('__defaut/error.bloc', null, true);
?>
        <p><a class="btn btn-large" href="javascript:history.back()"><?php 
_e('button.back_one_page');
?>
예제 #3
0
파일: db.php 프로젝트: demental/m
 public function postUpdate($obj)
 {
     if (!$this->_dontSavei18n) {
         $this->saveTranslation($obj, T::getLocale());
     }
 }