Example #1
0
File: SIS4B.php Project: 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;
 }
Example #2
0
File: error.php Project: 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');
?>
Example #3
0
File: db.php Project: demental/m
 public function postUpdate($obj)
 {
     if (!$this->_dontSavei18n) {
         $this->saveTranslation($obj, T::getLocale());
     }
 }