0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: payzen.tar
payzen/elements/payzenlabel.php 0000666 00000002144 15137405540 0012716 0 ustar 00 <?php ##################################################################################################### # # Module pour la plateforme de paiement PayZen # Version : 1.2 (révision 33398) # ######################## # Développé pour VirtueMart # Version : 2.0.0 # Compatibilité plateforme : V2 # ######################## # Développé par Lyra Network # http://www.lyra-network.com/ # 20/02/2012 # Contact : support@payzen.eu # ##################################################################################################### // Check to ensure this file is within the rest of the framework defined ('_JEXEC') or die('Restricted access'); /** * Renders a label element */ class JElementPayzenLabel extends JElement { /** * Element name * * @access protected * @var string */ var $_name = 'PayzenLabel'; function fetchElement($name, $value, &$node, $control_name) { $class = ( $node->attributes('class') ? 'class="'.$node->attributes('class').'"' : 'class="text_area"' ); return '<label for="'.$name.'"'.$class.'>'.$value.'</label>'; } } payzen/elements/payzenmultilist.php 0000666 00000004552 15137405540 0013672 0 ustar 00 <?php ##################################################################################################### # # Module pour la plateforme de paiement PayZen # Version : 1.2 (révision 33398) # ######################## # Développé pour VirtueMart # Version : 2.0.0 # Compatibilité plateforme : V2 # ######################## # Développé par Lyra Network # http://www.lyra-network.com/ # 20/02/2012 # Contact : support@payzen.eu # ##################################################################################################### // Check to ensure this file is within the rest of the framework defined('JPATH_BASE') or die(); /** * Renders a multiple item select element * */ class JElementPayzenMultiList extends JElement { /** * Element name * * @access protected * @var string */ var $_name = 'PayzenMultiList'; function fetchElement($name, $value, &$node, $control_name) { // Base name of the HTML control. $ctrl = $control_name .'['. $name .']'; // Construct an array of the HTML OPTION statements. $options = array (); foreach ($node->children() as $option) { $val = $option->attributes('value'); $text = $option->data(); $options[] = JHTML::_('select.option', $val, JText::_($text)); } // Construct the various argument calls that are supported. $attribs = ' '; if ($v = $node->attributes( 'size' )) { $attribs .= 'size="'.$v.'"'; } if ($v = $node->attributes( 'class' )) { $attribs .= 'class="'.$v.'"'; } else { $attribs .= 'class="inputbox"'; } if ($m = $node->attributes( 'multiple' )) { $attribs .= ' multiple="multiple"'; $ctrl .= '[]'; } // Render the HTML SELECT list. return JHTML::_('select.genericlist', $options, $ctrl, $attribs, 'value', 'text', $value, $control_name.$name ); } } payzen/elements/payzenurl.php 0000666 00000003030 15137405540 0012434 0 ustar 00 <?php /* ##################################################################################################### # # Module pour la plateforme de paiement PayZen # Version : 1.2 (révision 33398) # ######################## # Développé pour VirtueMart # Version : 2.0.0 # Compatibilité plateforme : V2 # ######################## # Développé par Lyra Network # http://www.lyra-network.com/ # 20/02/2012 # Contact : support@payzen.eu # ##################################################################################################### */ // Check to ensure this file is within the rest of the framework defined('JPATH_BASE') or die(); /** * Renders a url element */ class JElementPayzenUrl extends JElement { /** * Element name * * @access protected * @var string */ var $_name = 'PayzenUrl'; function fetchElement($name, $value, &$node, $control_name) { $class = ( $node->attributes('class') ? 'class="'.$node->attributes('class').'"' : 'class="text_area"' ); if ($node->attributes( 'default' ) == $value) { $value = JURI::root(). $value; } if ($node->attributes( 'editable' ) == 'true') { $size = ( $node->attributes('size') ? 'size="'.$node->attributes('size').'"' : '' ); return '<input type="text" name="'.$control_name.'['.$name.']" id="'.$control_name.$name.'" value="'.$value.'" '.$class.' '.$size.' />'; } else { return '<label for="'.$name.'"'.$class.'>'.$value.'</label>'; } } } payzen/elements/.htaccess 0000666 00000000177 15137405540 0011501 0 ustar 00 <FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch>