当前位置: 首页>>代码示例>>PHP>>正文


PHP JHTML::link方法代码示例

本文整理汇总了PHP中JHTML::link方法的典型用法代码示例。如果您正苦于以下问题:PHP JHTML::link方法的具体用法?PHP JHTML::link怎么用?PHP JHTML::link使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JHTML的用法示例。


在下文中一共展示了JHTML::link方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getProfileLink

 public function getProfileLink($user_id, &$object, &$attribs = array())
 {
     $user = CFactory::getUser($user_id);
     //parameters
     $params = $this->params;
     if (!$user || $params->get('view_individual_link', '1') == 0) {
         return true;
     }
     JHTML::_('behavior.tooltip');
     $name = $user->getDisplayName();
     $url = CRoute::_('index.php?option=com_community&view=profile&userid=' . $user_id);
     switch ($params->get('view_individual_link', '1')) {
         case 2:
             $avatar = $user->getThumbAvatar();
             $text = '<img class="hasTip" src="' . $avatar . '" title="' . $name . '"/>';
             break;
         case 1:
         default:
             $text = JText::_('PLG_TRACKS_JOMSOCIAL_VIEW_USER_PROFILE');
             break;
     }
     $attribs = array_merge($attribs, array('alt' => $user->get('username')));
     $object->text = JHTML::link($url, $text, $attribs);
     return true;
 }
开发者ID:julienV,项目名称:Joomla-Tracks,代码行数:25,代码来源:jomsocial.php

示例2: draw_help

 function draw_help($help)
 {
     echo '<h3>' . $help['name'] . ': ' . JText::_($help['prefix'] . '_HELP_TITLE') . '</h3>';
     echo '<p><span style="font-size:120%;font-weight:bold;">' . JText::sprintf($help['prefix'] . '_HELP_RATING', $help['name']) . ' ';
     echo JHTML::link($help['link_rating'], 'Joomla Extensions Directory', 'target="_blank"') . '</span></p>';
     $version_info = $this->get_version_info($help['reference'], $help['current_version']);
     if (!empty($version_info['message'])) {
         echo $version_info['message'];
     }
     $k = 0;
     echo '<table class="help_support">';
     echo '<tr class="row' . $k . '"><td>' . JText::_($help['prefix'] . '_VERSION') . '</td>';
     echo '<td>' . $help['current_version'] . '</td></tr>';
     if (!empty($version_info['latest_version'])) {
         $k = 1 - $k;
         echo '<tr class="row' . $k . '"><td>' . JText::_($help['prefix'] . '_LATEST_VERSION') . '</td>';
         echo '<td>' . $version_info['latest_version'] . '</td></tr>';
     }
     $k = 1 - $k;
     echo '<tr class="row' . $k . '"><td>' . JText::_($help['prefix'] . '_HELP_CHECK') . '</td>';
     echo '<td>' . JHTML::link($help['link_version'], 'Les Arbres Design - ' . $help['name'], 'target="_blank"') . '</td></tr>';
     $pdf_icon = JHTML::_('image', JURI::root() . 'administrator/components/com_' . $help['reference'] . '/assets/pdf_16.gif', '', 'style="vertical-align:middle;border:none;padding:0;margin:0;"');
     $k = 1 - $k;
     echo '<tr class="row' . $k . '"><td>' . $pdf_icon . ' ' . JText::_($help['prefix'] . '_HELP_DOC') . '</td>';
     echo '<td>' . JHTML::link($help['link_doc'], "www.lesarbresdesign.info", 'target="_blank"') . '</td></tr>';
     $k = 1 - $k;
     echo '<tr class="row' . $k . '"><td>' . JText::_($help['prefix'] . '_HELP_LES_ARBRES') . '</td><td>' . JHTML::link("http://www.lesarbresdesign.info/", 'Les Arbres Design', 'target="_blank"') . '</td></tr>';
     if (!empty($help['extra'])) {
         foreach ($help['extra'] as $row) {
             $k = 1 - $k;
             echo '<tr class="row' . $k . '"><td>' . $row['left'] . '</td><td>' . $row['right'] . '</td></tr>';
         }
     }
     echo '</table>';
 }
开发者ID:naquib555,项目名称:quBitolgy,代码行数:35,代码来源:view.html.php

示例3: quickiconButton

    /**
     * Creates the buttons view
     *
     * @param string $link targeturl
     * @param string $image path to image
     * @param string $text image description
     * @param boolean $modal 1 for loading in modal
     */
    function quickiconButton($link, $image, $text, $modal = 0)
    {
        //initialise variables
        $lang =& JFactory::getLanguage();
        ?>

    <div style="float:<?php 
        echo $lang->isRTL() ? 'right' : 'left';
        ?>
;">
      <div class="icon">
        <?php 
        $html = JHTML::_('image', 'administrator/images/' . $image, $text) . '<span>' . $text . '</span>';
        if ($modal == 1) {
            JHTML::_('behavior.modal');
            $imagelink = JHTML::link($link . '&tmpl=component', $html, array('style' => "cursor:pointer", 'class' => 'modal', 'rel' => "{handler: 'iframe', size: {x: 650, y: 400}}"));
        } else {
            $imagelink = JHTML::link($link, $html);
        }
        echo $imagelink;
        ?>
      </div>
    </div>
    <?php 
    }
开发者ID:julienV,项目名称:the-missing-T,代码行数:33,代码来源:view.html.php

示例4: initCheck

 /**
  * Check upgrade / database status
  */
 function initCheck()
 {
     global $mainframe;
     // Check Plugins DB
     if (!$this->checkTableContents('plugins')) {
         $link = JHTML::link('index.php?option=com_jce&amp;task=repair&amp;type=plugins', JText::_('DB CREATE RESTORE'));
         return $this->redirect(JText::_('DB PLUGINS ERROR') . ' - ' . $link, 'error');
     }
     // Check Groups DB
     if (!$this->checkTableContents('groups')) {
         $link = JHTML::link('index.php?option=com_jce&amp;task=repair&amp;type=groups', JText::_('DB CREATE RESTORE'));
         return $this->redirect(JText::_('DB GROUPS ERROR') . ' - ' . $link, 'error');
     }
     // Check Editor is installed
     if (!$this->checkEditorFiles()) {
         return $this->redirect(JText::_('EDITOR FILES ERROR'), 'error');
     }
     if (!$this->checkEditor() && $this->checkEditorFiles()) {
         $link = JHTML::link('index.php?option=com_jce&amp;task=repair&amp;type=editor', JText::_('EDITOR INSTALL'));
         return $this->redirect(JText::_('EDITOR INSTALLED MANUAL ERROR') . ' - ' . $link, 'error');
     }
     // Check Editor is installed
     if (!$this->checkEditor()) {
         return $this->redirect(JText::_('EDITOR INSTALLED ERROR'), 'error');
     }
     // Check Editor is enabled
     if (!$this->checkEditorEnabled()) {
         return $this->redirect(JText::_('EDITOR ENABLED ERROR'), 'error');
     }
     // Check Update
     if (!$this->checkUpdate()) {
         $link = JHTML::link('index.php?option=com_jce&amp;task=repair&amp;type=update', JText::_('DB UPDATE'));
         return $this->redirect(JText::_('DB UPDATE MSG') . ' - ' . $link, 'error');
     }
 }
开发者ID:rlee1962,项目名称:diylegalcenter,代码行数:38,代码来源:updater.php

示例5: display

 function display($tpl = null)
 {
     wfimport('admin.models.updates');
     $mainframe = JFactory::getApplication();
     $model = $this->getModel();
     $installer = WFInstaller::getInstance();
     $version = $model->getVersion();
     // Check Groups DB
     if (!$installer->profiles) {
         $link = JHTML::link('index.php?option=com_jce&amp;task=repair&amp;table=profiles', WFText::_('WF_DB_CREATE_RESTORE'));
         $mainframe->enqueueMessage(WFText::_('WF_DB_PROFILES_ERROR') . ' - ' . $link, 'error');
     }
     $component = WFExtensionHelper::getComponent();
     // get params definitions
     $params = new WFParameter($component->params, '', 'preferences');
     $canUpdate = WFModelUpdates::canUpdate();
     $options = array('feed' => (int) $params->get('feed', 0), 'updates' => (int) $params->get('updates', $canUpdate ? 1 : 0), 'labels' => array('feed' => WFText::_('WF_CPANEL_FEED_LOAD'), 'updates' => WFText::_('WF_UPDATES'), 'updates_available' => WFText::_('WF_UPDATES_AVAILABLE')));
     $this->document->addScript('components/com_jce/media/js/cpanel.js?version=' . $model->getVersion());
     $this->document->addScriptDeclaration('jQuery(document).ready(function($){$.jce.CPanel.init(' . json_encode($options) . ')});');
     WFToolbarHelper::preferences();
     WFToolbarHelper::updates($canUpdate);
     WFToolbarHelper::help('cpanel.about');
     $this->assignRef('icons', $icons);
     $this->assignRef('model', $model);
     $this->assignRef('installer', $installer);
     $this->assignRef('params', $params);
     $this->assignRef('version', $version);
     parent::display($tpl);
 }
开发者ID:andreassetiawanhartanto,项目名称:PDKKI,代码行数:29,代码来源:view.html.php

示例6: display

    function display($tpl = null)
    {
        FCP_Admin::make_title('COM_FLEXICONTACT_LOG');
        JToolBarHelper::cancel('display');
        // get the filter states
        $app = JFactory::getApplication();
        $filter_date = $app->getUserStateFromRequest(LAFC_COMPONENT . '.filter_date', 'filter_date', LAFC_LOG_ALL, 'int');
        // make the filter lists
        $date_filters = array(LAFC_LOG_ALL => JText::_('COM_FLEXICONTACT_LOG_ALL'), LAFC_LOG_LAST_12_MONTHS => JText::_('COM_FLEXICONTACT_LOG_LAST_12_MONTHS'));
        $lists['date'] = FCP_Common::make_list('filter_date', $filter_date, $date_filters, 0, 'onchange="submitform( );"');
        // show the chart
        ?>
<form action="index.php" method="get" name="adminForm" id="adminForm">
<input type="hidden" name="option" value="<?php 
        echo LAFC_COMPONENT;
        ?>
" />
<input type="hidden" name="task" value="stats" />
<input type="hidden" name="controller" value="log" />

<table>
	<tr>
		<td align="left" width="100%">
		<?php 
        echo '<strong>' . $this->title . '</strong>';
        ?>
		</td>
		<td nowrap="nowrap">
			<?php 
        echo $lists['date'];
        echo '&nbsp;';
        echo '<button class="fcp_button" onclick="' . "\n\t\t\t\t\tthis.form.getElementById('filter_date').value='" . LAFC_LOG_ALL . "';\n\t\t\t\t\tthis.form.submit();" . '">' . JText::_('COM_FLEXICONTACT_RESET') . '</button>';
        ?>
		</td>
	</tr>
</table>
</form>
<?php 
        if (strpos($this->data, 'script type')) {
            $document = JFactory::getDocument();
            $document->addScript("https://www.google.com/jsapi");
            // load the Google jsapi
            $document->addCustomTag($this->data);
            // load the chart script
            echo '<div id="chart_1"></div>';
            // create an element for the chart to be drawn in
        } else {
            echo $this->data;
        }
        echo '<h3>' . JText::sprintf('COM_FLEXICONTACT_LOG_ROWS', $this->num_rows) . '</h3>';
        ?>
<div align="right"><?php 
        echo JText::_('COM_FLEXICONTACT_POWERED_BY') . ' ' . JHTML::link(PLOTALOT_LINK, "Plotalot", 'target="_blank"');
        ?>
</div>
<?php 
    }
开发者ID:vstorm83,项目名称:propertease,代码行数:57,代码来源:view.html.php

示例7: getProfileLink

 public function getProfileLink($user_id, &$object, &$attribs = '')
 {
     $user = JFactory::getUser($user_id);
     if (!$user->get('id')) {
         return true;
     }
     $link = JRoute::_('index.php?option=com_comprofiler&&task=userProfile&user=' . $user_id);
     $object->text = JHTML::link($link, JText::_('PLG_TRACKS_CB_VIEW_USER_PROFILE'), $attribs);
     return true;
 }
开发者ID:julienV,项目名称:Joomla-Tracks,代码行数:10,代码来源:cb.php

示例8: submitinfo

 function submitinfo()
 {
     jimport('joomla.mail.helper');
     $app =& JFactory::getApplication();
     $params = JComponentHelper::getParams('com_redevent');
     if (!$params->get('enable_moreinfo', 1)) {
         echo Jtext::_('COM_REDEVENT_MOREINFO_ERROR_DISABLED_BY_ADMIN');
         $app->close(403);
     }
     $xref = JRequest::getInt('xref');
     $email = JRequest::getVar('email');
     $model = $this->getModel('details');
     $details = $model->getDetails();
     if ($xref && $email && JMailHelper::isEmailAddress($email)) {
         $mailer =& JFactory::getMailer();
         $mailer->IsHTML(true);
         $mailer->setSubject(JText::sprintf('COM_REDEVENT_MOREINFO_MAIL_SUBJECT', $details->full_title));
         $mailer->AddAddress($app->getCfg('mailfrom'), $app->getCfg('sitename'));
         $mailer->AddReplyTo(array($email, JRequest::getVar('name')));
         $data = array();
         if ($d = JRequest::getVar('name')) {
             $data[] = array(Jtext::_('COM_REDEVENT_MOREINFO_LABEL_NAME'), $d);
         }
         if ($d = JRequest::getVar('email')) {
             $data[] = array(Jtext::_('COM_REDEVENT_MOREINFO_LABEL_EMAIL'), $d);
         }
         if ($d = JRequest::getVar('company')) {
             $data[] = array(Jtext::_('COM_REDEVENT_MOREINFO_LABEL_COMPANY'), $d);
         }
         if ($d = JRequest::getVar('phonenumber')) {
             $data[] = array(Jtext::_('COM_REDEVENT_MOREINFO_LABEL_PHONENUMBER'), $d);
         }
         if ($d = JRequest::getVar('comments')) {
             $data[] = array(Jtext::_('COM_REDEVENT_MOREINFO_LABEL_COMMENTS'), str_replace("\n", "<br/>", $d));
         }
         $table = '<table>';
         foreach ($data as $d) {
             $table .= '<tr><td>' . $d[0] . '</td><td>' . $d[1] . '</td></tr>';
         }
         $table .= '</table>';
         $link = JRoute::_(JURI::base() . RedeventHelperRoute::getDetailsRoute($details->did, $details->xslug));
         $link = JHTML::link($link, $details->full_title);
         $body = JText::sprintf('COM_REDEVENT_MOREINFO_MAIL_BODY', $link, $table);
         $mailer->setBody($body);
         $mailer->send();
     }
     // confirm sending
     JRequest::setVar('view', 'moreinfo');
     Jrequest::setVar('layout', 'final');
     $this->display();
 }
开发者ID:,项目名称:,代码行数:51,代码来源:

示例9: getPlayerLink

 function getPlayerLink($item, $params, $project)
 {
     $flag = "";
     if ($params->get('show_player_flag')) {
         $flag = Countries::getCountryFlag($item->country) . "&nbsp;";
     }
     $text = "<i>" . JoomleagueHelper::formatName(null, $item->firstname, $item->nickname, $item->lastname, $params->get("name_format")) . "</i>";
     if ($params->get('show_player_link')) {
         $link = JoomleagueHelperRoute::getPlayerRoute($params->get('p'), $params->get('team'), $item->slug);
         echo $flag . JHTML::link($link, $text);
     } else {
         echo '<i>' . JText::sprintf('%1$s', $flag . $text) . '</i>';
     }
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:14,代码来源:helper.php

示例10: jdGetScanStatus

function jdGetScanStatus()
{
    require_once JPATH_COMPONENT_ADMINISTRATOR . DS . 'helpers' . DS . 'log.php';
    $objResponse = new xajaxResponse();
    $controller = new JDefenderControllerScan();
    $scanStatus = $controller->scan($doLog = JD_Scan_Helper::isLogging());
    $scanInfo = JD_Vars_Helper::getGroup('jdefender_scan');
    if (empty($scanInfo)) {
        $scanInfo = array();
    }
    unset($scanInfo['status']);
    $progress = 0;
    if (!empty($scanInfo['total'])) {
        $scanned = 0;
        $scanned += @$scanInfo['files'];
        $scanned += @$scanInfo['dirs'];
        $progress = (int) floor($scanned / $scanInfo['total'] * 100);
    }
    $objResponse->assign('scanstatus', 'innerHTML', JText::_('Progress') . ': ' . $progress . '%');
    $objResponse->script('setProgress(' . $progress . ');');
    $objResponse->script('blink("scanstatus", 2);');
    $js = array();
    foreach ($scanInfo as $k => $v) {
        if ($k == 'last_scan_date') {
            continue;
        }
        $titles = JD_Log_Helper::readableLogType($k);
        if ($titles) {
            $js[] = '"' . addslashes(JHTML::link('index.php?option=com_jdefender&controller=log&task=showLog&cid[]=' . $k, $titles->title, 'target="_blank"')) . '" : ' . (int) $v;
        } else {
            $js[] = $k . ': ' . (int) $v;
        }
    }
    $js = '{' . implode(', ', $js) . '}';
    $objResponse->script('onInfoUpdated("' . addslashes($js) . '")');
    // Check scan status.
    if ($scanStatus && is_array($scanStatus) && count($scanStatus) == 2) {
        list($filesystemScanComplete, $optionScanComplete) = $scanStatus;
        if ($filesystemScanComplete && $optionScanComplete) {
            $objResponse->script('onScanComplete()');
        }
    }
    return $objResponse;
}
开发者ID:alphashuro,项目名称:audeprac,代码行数:44,代码来源:xajax.php

示例11: check

 /**
  * Check upgrade / database status
  */
 function check()
 {
     $this->profiles = $this->checkTable('#__wf_profiles');
     if ($this->profiles) {
         $this->profiles = $this->checkTableContents('#__wf_profiles');
     }
     if (!$this->checkComponent()) {
         return $this->install(true);
     }
     // Check Profiles DB
     if (!$this->profiles) {
         return $this->redirect();
     }
     // Check Editor is installed
     if (!$this->checkEditor()) {
         $link = JHTML::link('index.php?option=com_jce&amp;task=repair&amp;type=editor', WFText::_('WF_EDITOR_INSTALL'));
         return $this->redirect(WFText::_('WF_EDITOR_INSTALLED_MANUAL_ERROR') . ' - ' . $link, 'error');
     }
     // Check Editor is enabled
     if (!$this->checkEditorEnabled()) {
         return $this->redirect(WFText::_('WF_EDITOR_ENABLED_ERROR'), 'error');
     }
 }
开发者ID:andreassetiawanhartanto,项目名称:PDKKI,代码行数:26,代码来源:installer.php

示例12: showHelpScreen

function showHelpScreen()
{
	JToolBarHelper::title(JTEXT::_('TOOLBAR_HELP'), 'article.png');
	flexicontact_html::adminForm();
	$link_doc = "http://extensions.lesarbresdesign.info/en/downloads/category/2-flexicontact";
	$link_images = "http://extensions.lesarbresdesign.info/en/flexicontact/captcha-image-packs";
	$link_version = "http://extensions.lesarbresdesign.info/en/version-history/flexicontact";
	$link_rating = "http://extensions.joomla.org/extensions/contacts-and-feedback/contact-forms/9743";
	$link_chrisguk = "http://extensions.joomla.org/extensions/owner/chrisguk";
	$link_LAextensions = "http://extensions.lesarbresdesign.info/";
	?>
	<p style="color:#0B55C4; font-size:15px"><?php echo LA_COMPONENT_NAME.': '.JTEXT::_('HELP_TITLE');?></p>
	<?php echo JText::sprintf('VERSION', LA_COMPONENT_NAME).' '.LA_COMPONENT_VERSION?><br />
	<p><?php echo '<strong>'.JTEXT::_('HELP_CONFIG').'</strong>';?></p>
	<p><?php echo JTEXT::_('HELP_DOC').' '.JHTML::link($link_doc, "www.lesarbresdesign.info", 'target="_blank"');?></p>
	<p><?php echo JTEXT::_('HELP_IMAGES').' '.JHTML::link($link_images, "www.lesarbresdesign.info", 'target="_blank"');?></p>
	<p><?php echo JTEXT::_('HELP_CHECK').' '.JHTML::link($link_version, 'Les Arbres Design - Flexicontact', 'target="_blank"');?></p>
	<p><?php echo JText::sprintf('HELP_RATING', LA_COMPONENT_NAME).' '.JHTML::link($link_rating, 'Joomla! Extensions', 'target="_blank"');?></p>
	<p><?php echo JTEXT::sprintf('HELP_LES_ARBRES', LA_COMPONENT_NAME, JHTML::link($link_chrisguk, 'Joomla! Extensions', 'target="_blank"')).' '.JHTML::link($link_LAextensions, 'Les Arbres Design', 'target="_blank"');?><p>
	<table>
		<tr></tr>
		<tr>
			<td><?php echo JText::sprintf('HELP_FUND_ONE', LA_COMPONENT_NAME);?><br />
				<?php echo JText::_('HELP_FUND_TWO');?>
			</td>
			<td>
				<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
					<input type="hidden" name="cmd" value="_s-xclick">
					<input type="hidden" name="hosted_button_id" value="11095351">
					<input type="image" src="<?php echo JText::_('HELP_DONATE_BUTTON');?>" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
					<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
				</form>
			</td>
		</tr>
	</table>
	<?php	
}
开发者ID:rkern21,项目名称:videoeditor,代码行数:37,代码来源:admin.flexicontact.html.php

示例13: prepareAjaxData

 function prepareAjaxData($checkAutomaticSelected = false)
 {
     // Added for the zone shipment module
     //$vars["zone_qty"] = 0;
     $this->prepareCartData($checkAutomaticSelected);
     $weight_total = 0;
     $weight_subtotal = 0;
     //of course, some may argue that the $this->data->products should be generated in the view.html.php, but
     //
     if (empty($this->data)) {
         $this->data = new stdClass();
     }
     $this->data->products = array();
     $this->data->totalProduct = 0;
     $i = 0;
     //OSP when prices removed needed to format billTotal for AJAX
     if (!class_exists('CurrencyDisplay')) {
         require JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'currencydisplay.php';
     }
     $currency = CurrencyDisplay::getInstance();
     foreach ($this->products as $priceKey => $product) {
         //$vars["zone_qty"] += $product["quantity"];
         $category_id = $this->getCardCategoryId($product->virtuemart_product_id);
         //Create product URL
         $url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $category_id, FALSE);
         // @todo Add variants
         $this->data->products[$i]['product_name'] = JHTML::link($url, $product->product_name);
         // Add the variants
         if (!is_numeric($priceKey)) {
             if (!class_exists('VirtueMartModelCustomfields')) {
                 require JPATH_VM_ADMINISTRATOR . DS . 'models' . DS . 'customfields.php';
             }
             //  custom product fields display for cart
             $this->data->products[$i]['product_attributes'] = VirtueMartModelCustomfields::CustomsFieldCartModDisplay($priceKey, $product);
         }
         $this->data->products[$i]['product_sku'] = $product->product_sku;
         //** @todo WEIGHT CALCULATION
         //$weight_subtotal = vmShipmentMethod::get_weight($product["virtuemart_product_id"]) * $product->quantity'];
         //$weight_total += $weight_subtotal;
         // product Price total for ajax cart
         // 			$this->data->products[$i]['prices'] = $this->prices[$priceKey]['subtotal_with_tax'];
         $this->data->products[$i]['pricesUnformatted'] = $this->pricesUnformatted[$priceKey]['subtotal_with_tax'];
         $this->data->products[$i]['prices'] = $currency->priceDisplay($this->pricesUnformatted[$priceKey]['subtotal_with_tax']);
         // other possible option to use for display
         $this->data->products[$i]['subtotal'] = $this->pricesUnformatted[$priceKey]['subtotal'];
         $this->data->products[$i]['subtotal_tax_amount'] = $this->pricesUnformatted[$priceKey]['subtotal_tax_amount'];
         $this->data->products[$i]['subtotal_discount'] = $this->pricesUnformatted[$priceKey]['subtotal_discount'];
         $this->data->products[$i]['subtotal_with_tax'] = $this->pricesUnformatted[$priceKey]['subtotal_with_tax'];
         // UPDATE CART / DELETE FROM CART
         $this->data->products[$i]['quantity'] = $product->quantity;
         $this->data->totalProduct += $product->quantity;
         $i++;
     }
     $this->data->billTotal = $currency->priceDisplay($this->pricesUnformatted['billTotal']);
     $this->data->dataValidated = $this->_dataValidated;
     return $this->data;
 }
开发者ID:Roma48,项目名称:abazherka_old,代码行数:57,代码来源:cart.php

示例14: array

        echo $cellwidth . $show_vertical_separator;
        ?>
">
			<div class="spacer">
				<?php 
        // Product Image
        if ($product->images) {
            echo '<div>';
            echo JHTML::_('link', JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id), $product->images[0]->displayMediaThumb('class="featuredProductImage" border="0"', false, 'class="modal"'));
            echo '</div>';
        }
        ?>
									
				<div>
					<h3 class="catProductTitle"><?php 
        echo JHTML::link(JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id, FALSE), $product->product_name, array('title' => $product->product_name));
        ?>
</h3>
					
					<div class="catProductPrice" id="productPrice<?php 
        echo $product->virtuemart_product_id;
        ?>
">
					<?php 
        if (VmConfig::get('show_prices') == '1') {
            if ($product->prices['salesPrice'] <= 0 and VmConfig::get('askprice', 1) and !$product->images[0]->file_is_downloadable) {
                echo JText::_('COM_VIRTUEMART_PRODUCT_ASKPRICE');
            }
            echo $this->currency->createPriceDiv('basePriceWithTax', '', $product->prices);
            echo $this->currency->createPriceDiv('taxAmount', 'TPL_GK_LANG_VM_INC_TAX', $product->prices);
        }
开发者ID:Roma48,项目名称:abazherka_old,代码行数:31,代码来源:default_products.php

示例15: array

		</h2>

		<?php 
    //flyer
    echo redEVENTImage::modalimage($this->row->locimage, $this->row->venue);
    echo REOutput::mapicon($this->row, array('class' => 'event-map'));
    ?>

		<dl class="location floattext">
			 <dt class="venue"><?php 
    echo JText::_('COM_REDEVENT_VENUE') . ':';
    ?>
</dt>
				<dd class="venue">
				<?php 
    echo JHTML::link($venuelink, $this->escape($this->row->venue));
    ?>
				<?php 
    if (!empty($this->row->url)) {
        ?>
					&nbsp; - &nbsp;
					<a href="<?php 
        echo $this->row->url;
        ?>
"> <?php 
        echo JText::_('COM_REDEVENT_WEBSITE');
        ?>
</a>
				<?php 
    }
    ?>
开发者ID:,项目名称:,代码行数:31,代码来源:


注:本文中的JHTML::link方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。