當前位置: 首頁>>代碼示例>>PHP>>正文


PHP JEVHelper::imagesite方法代碼示例

本文整理匯總了PHP中JEVHelper::imagesite方法的典型用法代碼示例。如果您正苦於以下問題:PHP JEVHelper::imagesite方法的具體用法?PHP JEVHelper::imagesite怎麽用?PHP JEVHelper::imagesite使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在JEVHelper的用法示例。


在下文中一共展示了JEVHelper::imagesite方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: DefaultEventManagementButton

function DefaultEventManagementButton($view, $row)
{
    JEVHelper::script('view_detail.js', 'components/' . JEV_COM_COMPONENT . "/assets/js/");
    ?>
	<a href="#my-modal" data-toggle="modal"  data-target="#action_dialogJQ<?php 
    echo $row->rp_id();
    ?>
"  title="<?php 
    echo JText::_('JEV_E_EDIT', true);
    ?>
">
		<?php 
    echo JEVHelper::imagesite('edit.png', JText::_('JEV_E_EDIT'));
    ?>
	</a>
	<?php 
}
開發者ID:pguilford,項目名稱:vcomcc,代碼行數:17,代碼來源:defaulteventmanagementbutton.php

示例2:

                ?>
" style="height:24px;"/>
						</a>
					</td>
					<?php 
            }
            if ($row->canUserEdit() && !($mask & MASK_POPUP)) {
                JEVHelper::script('view_detail.js', 'components/' . JEV_COM_COMPONENT . "/assets/js/");
                ?>
                            <td  width="20" class="buttonheading" align="right">
                            <a href="javascript:void(0)" onclick='clickEditButton()' title="<?php 
                echo JText::_('JEV_E_EDIT');
                ?>
">
                            	<?php 
                echo JEVHelper::imagesite('edit.png', JText::_('JEV_E_EDIT'));
                ?>
                            </a>
                            </td>
                            <?php 
            }
            ?>
                </tr>
                <tr class="dialogs">
                    <td align="left" valign="top" colspan="3">
                    <div style="position:relative;">
                    <?php 
            $this->eventIcalDialog($row, $mask);
            ?>
                    </div>
                    </td>
開發者ID:madseller,項目名稱:coperio,代碼行數:31,代碼來源:detail_body.php

示例3: DefaultLoadedFromTemplate


//.........這裏部分代碼省略.........
        <div class="jevdialogs">
        <?php 
        $search[] = "{{ICALDIALOG}}";
        ob_start();
        $view->eventIcalDialog($event, $mask);
        $dialog = ob_get_clean();
        $replace[] = $dialog;
        $blank[] = "";
        echo $dialog;
        ?>
        </div>
		
		<?php 
        $search[] = "{{ICALBUTTON}}";
        $replace[] = ob_get_clean();
        $blank[] = "";
    } else {
        $search[] = "{{ICALBUTTON}}";
        $replace[] = "";
        $blank[] = "";
        $search[] = "{{ICALDIALOG}}";
        $replace[] = "";
        $blank[] = "";
    }
    if ((JEVHelper::canEditEvent($event) || JEVHelper::canPublishEvent($event) || JEVHelper::canDeleteEvent($event)) && !($mask & MASK_POPUP)) {
        JEVHelper::script('view_detail.js', 'components/' . JEV_COM_COMPONENT . "/assets/js/");
        ob_start();
        ?>
        <a href="javascript:void(0)" onclick='clickEditButton()' title="<?php 
        echo JText::_('JEV_E_EDIT');
        ?>
">
			<?php 
        echo JEVHelper::imagesite('edit.png', JText::_('JEV_E_EDIT'));
        ?>
        </a>
        <div class="jevdialogs">
        <?php 
        $search[] = "{{EDITDIALOG}}";
        ob_start();
        $view->eventManagementDialog($event, $mask);
        $dialog = ob_get_clean();
        $replace[] = $dialog;
        $blank[] = "";
        echo $dialog;
        ?>
        </div>
        
        <?php 
        $search[] = "{{EDITBUTTON}}";
        $replace[] = ob_get_clean();
        $blank[] = "";
    } else {
        $search[] = "{{EDITBUTTON}}";
        $replace[] = "";
        $blank[] = "";
        $search[] = "{{EDITDIALOG}}";
        $replace[] = "";
        $blank[] = "";
    }
    $created = JevDate::getDate($event->created());
    $search[] = "{{CREATED}}";
    $replace[] = $created->toFormat(JText::_("DATE_FORMAT_CREATED"));
    $blank[] = "";
    if ($template_name == "icalevent.detail_body") {
        $search[] = "{{REPEATSUMMARY}}";
開發者ID:andreassetiawanhartanto,項目名稱:PDKKI,代碼行數:67,代碼來源:defaultloadedfromtemplate.php

示例4: DefaultLoadedFromTemplate


//.........這裏部分代碼省略.........
                        ob_start();
                        $view->eventIcalDialog($event, $mask);
                        $dialog = ob_get_clean();
                        $replace[] = $dialog;
                    } else {
                        $replace[] = "";
                    }
                    $blank[] = "";
                    echo $dialog;
                    ?>
						</div>

						<?php 
                    $search[] = "{{ICALBUTTON}}";
                    $replace[] = ob_get_clean();
                    $blank[] = "";
                } else {
                    $search[] = "{{ICALBUTTON}}";
                    $replace[] = "";
                    $blank[] = "";
                    $search[] = "{{ICALDIALOG}}";
                    $replace[] = "";
                    $blank[] = "";
                }
                if (JEVHelper::canEditEvent($event) || JEVHelper::canPublishEvent($event) || JEVHelper::canDeleteEvent($event)) {
                    JEVHelper::script('view_detail.js', 'components/' . JEV_COM_COMPONENT . "/assets/js/");
                    ob_start();
                    ?>
						<a href="javascript:void(0)" onclick='clickEditButton()' title="<?php 
                    echo JText::_('JEV_E_EDIT');
                    ?>
">
							<?php 
                    echo JEVHelper::imagesite('edit.png', JText::_('JEV_E_EDIT'));
                    ?>
						</a>
						<div class="jevdialogs">
						<?php 
                    $search[] = "{{EDITDIALOG}}";
                    if ($view) {
                        ob_start();
                        $view->eventManagementDialog($event, $mask);
                        $dialog = ob_get_clean();
                        $replace[] = $dialog;
                    } else {
                        $replace[] = "";
                    }
                    $blank[] = "";
                    echo $dialog;
                    ?>
						</div>

						<?php 
                    $search[] = "{{EDITBUTTON}}";
                    $replace[] = ob_get_clean();
                    $blank[] = "";
                } else {
                    $search[] = "{{EDITBUTTON}}";
                    $replace[] = "";
                    $blank[] = "";
                    $search[] = "{{EDITDIALOG}}";
                    $replace[] = "";
                    $blank[] = "";
                }
                break;
            case "{{CREATED}}":
開發者ID:madcsaba,項目名稱:li-de,代碼行數:67,代碼來源:defaultloadedfromtemplate.php

示例5: FlatViewHelperHeader

function FlatViewHelperHeader($view)
{
    if (version_compare(JVERSION, "1.6.0", 'ge')) {
        return $view->_header16();
    }
    $task = JRequest::getString("jevtask");
    $view->loadModules("jevprejevents");
    $view->loadModules("jevprejevents_" . $task);
    $dispatcher = JDispatcher::getInstance();
    $dispatcher->trigger('onJEventsHeader', array($view));
    $cfg = JEVConfig::getInstance();
    $version = JEventsVersion::getInstance();
    $jevtype = JRequest::getVar('jevtype');
    $evid = JRequest::getInt('evid');
    $pop = JRequest::getInt('pop', 0);
    $params = JComponentHelper::getParams(JEV_COM_COMPONENT);
    echo "\n" . '<!-- ' . $version->getLongVersion() . ', ' . utf8_encode(@html_entity_decode($version->getLongCopyright(), ENT_COMPAT, 'ISO-8859-1')) . ', ' . $version->getUrl() . ' -->' . "\n";
    // stop crawler and set meta tag
    JEVHelper::checkRobotsMetaTag();
    // Call the MetaTag setter function.
    if (is_callable(array("JEVHelper", "SetMetaTags"))) {
        JEVHelper::SetMetaTags();
    }
    $lang = JFactory::getLanguage();
    ?>
<table class="contentpaneopen jeventpage <?php 
    echo $params->get('pageclass_sfx');
    echo $params->get("darktemplate", 0) ? " jeventsdark" : "jeventslight";
    echo $lang->isRTL() ? " jevrtl" : " ";
    ?>
" id="jevents_header">
	<tr>
	<td class="contentheading" width="100%">
	<?php 
    $t_headline = '&nbsp;';
    switch ($cfg->get('com_calHeadline', 'comp')) {
        case 'none':
            $t_headline = '&nbsp;';
            break;
        case 'menu':
            $menu2 = JFactory::getApplication()->getMenu();
            $menu = $menu2->getActive();
            if (isset($menu) && isset($menu->name)) {
                $t_headline = $menu->name;
            }
            break;
        default:
            $t_headline = JText::_('JEV_EVENT_CALENDAR');
            break;
    }
    echo $t_headline;
    ?>
	</td>
	<?php 
    $task = JRequest::getString("jevtask");
    if ($cfg->get('com_print_icon_view', 1)) {
        $print_link = 'index.php?option=' . JEV_COM_COMPONENT . '&task=' . $task . ($evid ? '&evid=' . $evid : '') . ($jevtype ? '&jevtype=' . $jevtype : '') . ($view->year ? '&year=' . $view->year : '') . ($view->month ? '&month=' . $view->month : '') . ($view->day ? '&day=' . $view->day : '') . $view->datamodel->getItemidLink() . $view->datamodel->getCatidsOutLink() . '&pop=1' . '&tmpl=component';
        $print_link = JRoute::_($print_link);
        if ($pop) {
            ?>
			<td width="20" class="buttonheading" align="right">
			<a href="javascript:void(0);" onclick="javascript:window.print(); return false;" title="<?php 
            echo JText::_('JEV_CMN_PRINT');
            ?>
">
				<?php 
            echo JEVHelper::imagesite('printButton.png', JText::_('JEV_CMN_PRINT'));
            ?>
			</a>
			</td> <?php 
        } else {
            ?>
			<td  width="20" class="buttonheading" align="right">
			<a href="javascript:void(0);" onclick="window.open('<?php 
            echo $print_link;
            ?>
', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=600,height=600,directories=no,location=no');" title="<?php 
            echo JText::_('JEV_CMN_PRINT');
            ?>
">
				<?php 
            echo JEVHelper::imagesite('printButton.png', JText::_('JEV_CMN_PRINT'));
            ?>
			</a>
			</td> <?php 
        }
    }
    if ($cfg->get('com_email_icon_view', 1)) {
        $task = JRequest::getString("jevtask");
        $link = 'index.php?option=' . JEV_COM_COMPONENT . '&task=' . $task . ($evid ? '&evid=' . $evid : '') . ($jevtype ? '&jevtype=' . $jevtype : '') . ($view->year ? '&year=' . $view->year : '') . ($view->month ? '&month=' . $view->month : '') . ($view->day ? '&day=' . $view->day : '') . $view->datamodel->getItemidLink() . $view->datamodel->getCatidsOutLink();
        $link = JRoute::_($link);
        if (strpos($link, "/") === 0) {
            $link = substr($link, 1);
        }
        $link = JURI::root() . $link;
        require_once JPATH_SITE . '/' . 'components' . '/' . 'com_mailto' . '/' . 'helpers' . '/' . 'mailto.php';
        $url = JRoute::_('index.php?option=com_mailto&tmpl=component&link=' . MailToHelper::addLink($link));
        $path = version_compare(JVERSION, "1.6.0", 'ge') ? "media/system/images" : '/images/M_images/';
        ?>
		<td width="20" class="buttonheading" align="right">
//.........這裏部分代碼省略.........
開發者ID:madcsaba,項目名稱:li-de,代碼行數:101,代碼來源:flatviewhelperheader.php


注:本文中的JEVHelper::imagesite方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。