本文整理汇总了PHP中OA_Admin_Template类的典型用法代码示例。如果您正苦于以下问题:PHP OA_Admin_Template类的具体用法?PHP OA_Admin_Template怎么用?PHP OA_Admin_Template使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了OA_Admin_Template类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: display
/**
* A method to launch and display the widget
*
*/
function display()
{
$aConf = $GLOBALS['_MAX']['CONF'];
$oTpl = new OA_Admin_Template('dashboard/disabled.html');
$oDashboard = new OA_Central_Dashboard();
$oTpl->assign('isAdmin', OA_Permission::isAccount(OA_ACCOUNT_ADMIN));
$oTpl->display();
}
开发者ID:hostinger,项目名称:revive-adserver,代码行数:12,代码来源:Disabled.php
示例2: createView
protected function createView($actionName)
{
$view = new OA_Admin_Template($actionName . '-step.html');
$installTemplatesPath = MAX_PATH . '/www/admin/templates/install/';
$view->template_dir = $installTemplatesPath;
$view->assign("oxInstallerTemplateDir", $installTemplatesPath);
$view->register_function('ox_wizard_steps', array(new OX_UI_WizardSteps(), 'wizardSteps'));
return $view;
}
开发者ID:Spark-Eleven,项目名称:revive-adserver,代码行数:9,代码来源:install.php
示例3: display
/**
* A method to launch and display the widget
*
*/
function display()
{
$aConf = $GLOBALS['_MAX']['CONF'];
phpAds_PageHeader(null, new OA_Admin_UI_Model_PageHeaderModel(), '', false, false);
$oTpl = new OA_Admin_Template('dashboard/main.html');
if (!$aConf['ui']['dashboardEnabled'] || !$aConf['sync']['checkForUpdates']) {
$dashboardUrl = MAX::constructURL(MAX_URL_ADMIN, 'dashboard.php?widget=Disabled');
} else {
$dashboardUrl = MAX::constructURL(MAX_URL_ADMIN, 'dashboard.php?widget=Grid');
}
$oTpl->assign('dashboardURL', $dashboardUrl);
$oTpl->display();
phpAds_PageFooter('', true);
}
开发者ID:Jaree,项目名称:revive-adserver,代码行数:18,代码来源:Index.php
示例4: showError
/**
* A method to display an M2M/Dashboard error
*
* @param PEAR_Error $oError
*/
function showError($oError)
{
$aConf = $GLOBALS['_MAX']['CONF'];
$oTpl = new OA_Admin_Template('dashboard/error.html');
$errorCode = $oError->getCode();
$nativeErrorMessage = $oError->getMessage();
// Set error message
if (isset($GLOBALS['strDashboardErrorMsg' . $errorCode])) {
$errorMessage = $GLOBALS['strDashboardErrorMsg' . $errorCode];
} else {
if (!empty($nativeErrorMessage)) {
$errorMessage = $nativeErrorMessage;
// Don't show this message twice on error page
unset($nativeErrorMessage);
} else {
$errorMessage = $GLOBALS['strDashboardGenericError'];
}
}
// Set error description
if (isset($GLOBALS['strDashboardErrorDsc' . $errorCode])) {
$errorDescription = $GLOBALS['strDashboardErrorDsc' . $errorCode];
}
$oTpl->assign('errorCode', $errorCode);
$oTpl->assign('errorMessage', $errorMessage);
$oTpl->assign('systemMessage', $nativeErrorMessage);
$oTpl->assign('errorDescription', $errorDescription);
$oTpl->display();
}
开发者ID:villos,项目名称:tree_admin,代码行数:33,代码来源:Reload.php
示例5: display
/**
* A method to launch and display the widget
*
*/
function display()
{
$aConf = $GLOBALS['_MAX']['CONF'];
phpAds_PageHeader(null, new OA_Admin_UI_Model_PageHeaderModel(), '', false, false);
$oTpl = new OA_Admin_Template('dashboard/main.html');
if (!$aConf['ui']['dashboardEnabled'] || !$aConf['sync']['checkForUpdates']) {
$dashboardUrl = MAX::constructURL(MAX_URL_ADMIN, 'dashboard.php?widget=Disabled');
} else {
$m2mTicket = OA_Dal_Central_M2M::getM2MTicket(OA_Permission::getAccountId());
if (empty($m2mTicket)) {
$dashboardUrl = MAX::constructURL(MAX_URL_ADMIN, 'dashboard.php?widget=Reload');
} else {
$dashboardUrl = $this->buildDashboardUrl($m2mTicket, null, '&');
}
}
$oTpl->assign('dashboardURL', $dashboardUrl);
$oTpl->display();
phpAds_PageFooter('', true);
}
开发者ID:villos,项目名称:tree_admin,代码行数:23,代码来源:Index.php
示例6: assignModel
public static function assignModel(OA_Admin_Template $template, $query = '')
{
$accounts = OA_Permission::getLinkedAccounts(true, true);
$remainingCounts = array();
// Prepare recently used accountName
$recentlyUsed = array();
global $session;
if (empty($query) && !empty($session['recentlyUsedAccounts'])) {
$allAcountsNoGroups = array();
foreach ($accounts as $k => $v) {
foreach ($accounts[$k] as $accountId => $accountName) {
$allAcountsNoGroups[$accountId] = $accountName;
}
}
$recentlyUsedAccountIds = $session['recentlyUsedAccounts'];
$added = 0;
foreach ($recentlyUsedAccountIds as $k => $recentlyUserAccountId) {
if (++$added > self::MAX_ACCOUNTS_IN_GROUP) {
break;
}
$recentlyUsed[$recentlyUserAccountId] = $allAcountsNoGroups[$recentlyUserAccountId];
}
}
// Prepare admin accounts
if (isset($accounts[OA_ACCOUNT_ADMIN])) {
$adminAccounts = self::filterByNameAndLimit($accounts[OA_ACCOUNT_ADMIN], $query, $remainingCounts, OA_ACCOUNT_ADMIN);
unset($accounts[OA_ACCOUNT_ADMIN]);
} else {
$adminAccounts = array();
}
$showSearchAndRecent = false;
foreach ($accounts as $k => $v) {
$workingFor = sprintf($GLOBALS['strWorkingFor'], ucfirst(strtolower($k)));
$accounts[$workingFor] = self::filterByNameAndLimit($v, $query, $remainingCounts, $workingFor);
$count = count($accounts[$workingFor]);
if ($count == 0) {
unset($accounts[$workingFor]);
}
$showSearchAndRecent |= isset($remainingCounts[$workingFor]);
unset($accounts[$k]);
}
// Prepend recently used to the results
if (!empty($recentlyUsed) && $showSearchAndRecent) {
$accounts = array_merge(array($GLOBALS['strRecentlyUsed'] => $recentlyUsed), $accounts);
}
$template->assign('adminAccounts', $adminAccounts);
$template->assign('otherAccounts', $accounts);
$template->assign('remainingCounts', $remainingCounts);
$template->assign('query', $query);
$template->assign('noAccountsMessage', sprintf($GLOBALS['strNoAccountWithXInNameFound'], $query));
$template->assign('currentAccountId', OA_Permission::getAccountId());
$template->assign('showSearchAndRecent', $showSearchAndRecent);
}
开发者ID:villos,项目名称:tree_admin,代码行数:53,代码来源:AccountSwitch.php
示例7: createTemplateWithModel
public static function createTemplateWithModel($panel, $single = true)
{
$agencyId = OA_Permission::getAgencyId();
$oDalZones = OA_Dal::factoryDAL('zones');
$infix = $single ? '' : '-' . $panel;
phpAds_registerGlobalUnslashed('action', 'campaignid', 'clientid', "category{$infix}", "category{$infix}-text", "text{$infix}", "page{$infix}");
$campaignId = $GLOBALS['campaignid'];
$category = $GLOBALS["category{$infix}"];
$categoryText = $GLOBALS["category{$infix}-text"];
$text = $GLOBALS["text{$infix}"];
$linked = $panel == 'linked';
$websites = $oDalZones->getWebsitesAndZonesListByCategory($agencyId, $category, $campaignId, $linked, $text);
$pagerFileName = 'campaign-zone-zones.php';
$pagerParams = array('clientid' => $GLOBALS['clientid'], 'campaignid' => $GLOBALS['campaignid'], 'status' => $panel, 'category' => $category, 'category-text' => $categoryText, 'text' => $text);
$currentPage = null;
if (!$single) {
$currentPage = $GLOBALS["page{$infix}"];
}
$oTpl = new OA_Admin_Template('campaign-zone-zones.html');
$oPager = OX_buildPager($websites, self::WEBSITES_PER_PAGE, true, 'websites', 2, $currentPage, $pagerFileName, $pagerParams);
$oTopPager = OX_buildPager($websites, self::WEBSITES_PER_PAGE, false, 'websites', 2, $currentPage, $pagerFileName, $pagerParams);
list($itemsFrom, $itemsTo) = $oPager->getOffsetByPageId();
$websites = array_slice($websites, $itemsFrom - 1, self::WEBSITES_PER_PAGE, true);
$aZonesCounts = array('all' => $oDalZones->countZones($agencyId, null, $campaignId, $linked), 'matching' => $oDalZones->countZones($agencyId, $category, $campaignId, $linked, $text));
$showingCount = 0;
// TODO: currently we're calculating the number in PHP code. Once
// MAX_Dal_Admin_Zones::countZones() supports the limit parameter, we can remove
// the code below and use the dal.
foreach ($websites as $website) {
$showingCount += count($website['zones']);
}
$aZonesCounts['showing'] = $showingCount;
$oTpl->assign('pager', $oPager);
$oTpl->assign('topPager', $oTopPager);
$oTpl->assign('websites', $websites);
$oTpl->assign('zonescounts', $aZonesCounts);
$oTpl->assign('category', $categoryText);
$oTpl->assign('text', $text);
$oTpl->assign('status', $panel);
$oTpl->assign('page', $oTopPager->getCurrentPageID());
return $oTpl;
}
开发者ID:villos,项目名称:tree_admin,代码行数:42,代码来源:CampaignZoneLink.php
示例8: display
/**
* A method to launch and display the widget
*
*/
function display()
{
$oTpl = new OA_Admin_Template('dashboard/grid.html');
$oTpl->assign('dashboardURL', MAX::constructURL(MAX_URL_ADMIN, 'dashboard.php'));
$oTpl->assign('cssURL', OX::assetPath() . "/css");
$oTpl->assign('imageURL', OX::assetPath() . "/images");
$oTpl->assign('jsURL', OX::assetPath() . "/js");
$oTpl->display();
}
开发者ID:hostinger,项目名称:revive-adserver,代码行数:13,代码来源:Grid.php
示例9: displayPage
function displayPage($aZone, $form)
{
$pageName = basename($_SERVER['SCRIPT_NAME']);
$agencyId = OA_Permission::getAgencyId();
$aEntities = array('affiliateid' => $aZone['affiliateid'], 'zoneid' => $aZone['zoneid']);
$aOtherPublishers = Admin_DA::getPublishers(array('agency_id' => $agencyId));
$aOtherZones = Admin_DA::getZones(array('publisher_id' => $aZone['affiliateid']));
MAX_displayNavigationZone($pageName, $aOtherPublishers, $aOtherZones, $aEntities);
//get template and display form
$oTpl = new OA_Admin_Template('zone-advanced.html');
$oTpl->assign('form', $form->serialize());
$oTpl->display();
_echoDeliveryCappingJs();
//footer
phpAds_PageFooter();
}
开发者ID:ballistiq,项目名称:revive-adserver,代码行数:16,代码来源:zone-advanced.php
示例10: smarty_core_load_plugins
<?php
/* Smarty version 2.6.18, created on 2016-01-08 10:56:39
compiled from /var/www/html/adserver/revive-adserver-3.2.2/lib/templates/admin/form/custom-campaign-remaining-conv.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 't', '/var/www/html/adserver/revive-adserver-3.2.2/lib/templates/admin/form/custom-campaign-remaining-conv.html', 15, false))), $this);
?>
<span id="conversions_remaining_span" style="display: none">
<?php
echo OA_Admin_Template::_function_t(array('str' => 'ConversionsRemaining'), $this);
?>
:<span id='conversions_remaining_count'><?php
echo $this->_tpl_vars['_e']['vars']['conversionsRemaining'];
?>
</span>
</span>
开发者ID:SamWinchester,项目名称:revive-adserver,代码行数:17,代码来源:%%B8^B89^B8941735%%custom-campaign-remaining-conv.html.php
示例11: array
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "layout/links-container.html", 'smarty_include_vars' => array('aLinks' => $this->_tpl_vars['aTools'], 'title' => $this->_tpl_vars['linksTitle'], 'cssClass' => 'tools')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</li>
<?php
}
?>
<?php
if (count($this->_tpl_vars['aShortcuts'])) {
?>
<li class='alignRight'>
<?php
ob_start();
echo OA_Admin_Template::_function_t(array('str' => 'Shortcuts'), $this);
$this->_smarty_vars['capture']['default'] = ob_get_contents();
$this->assign('linksTitle', ob_get_contents());
ob_end_clean();
?>
<?php
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "layout/links-container.html", 'smarty_include_vars' => array('aLinks' => $this->_tpl_vars['aShortcuts'], 'title' => $this->_tpl_vars['linksTitle'], 'cssClass' => 'shortcuts')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</li>
<?php
}
?>
</ul>
开发者ID:SamWinchester,项目名称:revive-adserver,代码行数:31,代码来源:%%7C^7C5^7C541EE6%%content-header.html.php
示例12: unset
</li>
<li>
<a href='affiliate-zones.php?affiliateid=<?php
echo $this->_tpl_vars['key'];
?>
' class='inlineIcon iconZones'><?php
echo OA_Admin_Template::_function_t(array('str' => 'Zones'), $this);
?>
</a>
</li>
<li>
<a href='affiliate-channels.php?affiliateid=<?php
echo $this->_tpl_vars['key'];
?>
' class='inlineIcon iconTargetingChannels'><?php
echo OA_Admin_Template::_function_t(array('str' => 'Channels'), $this);
?>
</a>
</li>
</ul>
</td>
</tr>
<?php
}
}
unset($_from);
?>
</tbody>
<?php
}
if (!empty($this->_tpl_vars['pager']->links)) {
开发者ID:SamWinchester,项目名称:revive-adserver,代码行数:31,代码来源:%%8E^8E5^8E54329B%%website-index-list.html.php
示例13: phpAds_PageHeader
}
}
}
}
}
}
}
/*-------------------------------------------------------*/
/* HTML framework */
/*-------------------------------------------------------*/
phpAds_PageHeader("plugin-index", new OA_Admin_UI_Model_PageHeaderModel($GLOBALS['strPlugins']), '', false, true);
/*-------------------------------------------------------*/
/* Main code */
/*-------------------------------------------------------*/
if (is_null($oTpl)) {
if (array_key_exists('selection', $_REQUEST) && $_REQUEST['selection'] == 'groups') {
$oTpl = new OA_Admin_Template('plugin-group-index-list.html');
$oTpl->assign('aWarnings', $oComponentGroupManager->aWarnings);
$oTpl->assign('selected', 'groups');
$oTpl->assign('aPlugins', $oComponentGroupManager->getComponentGroupsList());
} else {
$oTpl = new OA_Admin_Template('plugin-index.html');
$oTpl->assign('selected', 'plugins');
$oTpl->assign('aPackages', $oPluginManager->getPackagesList());
$oTpl->assign('aWarnings', $oPluginManager->aWarnings);
$oTpl->assign('aErrors', $oPluginManager->aErrors);
$oTpl->assign('aMessages', $oPluginManager->aMessages);
}
}
$oTpl->display();
phpAds_PageFooter();
开发者ID:villos,项目名称:tree_admin,代码行数:31,代码来源:plugin-index.php
示例14: MAX_getStoredValue
$orderdirection = 'down';
} else {
$orderdirection = 'up';
}
}
$setPerPage = MAX_getStoredValue('setPerPage', 10);
$pageID = MAX_getStoredValue('pageID', 1);
// Setup date selector
$aPeriod = array('period_preset' => $periodPreset, 'period_start' => $startDate, 'period_end' => $endDate);
$daySpan = new OA_Admin_UI_Audit_DaySpanField('period');
$daySpan->setValueFromArray($aPeriod);
$daySpan->enableAutoSubmit();
// Initialize parameters
$pageName = basename($_SERVER['SCRIPT_NAME']);
// Load template
$oTpl = new OA_Admin_Template('userlog-index.html');
// Get advertisers & publishers for filters
$showAdvertisers = OA_Permission::isAccount(OA_ACCOUNT_ADVERTISER, OA_ACCOUNT_MANAGER, OA_ACCOUNT_ADMIN);
$showPublishers = OA_Permission::isAccount(OA_ACCOUNT_TRAFFICKER, OA_ACCOUNT_MANAGER, OA_ACCOUNT_ADMIN);
$agencyId = OA_Permission::getAgencyId();
// Get advertisers if we show them
$aAdvertiser = $aPublisher = array();
if ($showAdvertisers) {
if (OA_Permission::isAccount(OA_ACCOUNT_ADVERTISER)) {
$tempAdvertiserId = OA_Permission::getEntityId();
$aAdvertiserList = Admin_DA::getAdvertisers(array('advertiser_id' => $tempAdvertiserId));
} else {
$aAdvertiserList = Admin_DA::getAdvertisers(array('agency_id' => $agencyId));
}
$aAdvertiser[0] = $GLOBALS['strSelectAdvertiser'];
foreach ($aAdvertiserList as $key => $aValue) {
开发者ID:Apeplazas,项目名称:plazadelatecnologia,代码行数:31,代码来源:userlog-index.php
示例15: OA_Admin_Template
} else {
$listorder = '';
}
}
if (!isset($orderdirection)) {
if (isset($session['prefs']['campaign-banners.php'][$campaignid]['orderdirection'])) {
$orderdirection = $session['prefs']['campaign-banners.php'][$campaignid]['orderdirection'];
} else {
$orderdirection = '';
}
}
/*-------------------------------------------------------*/
/* Main code */
/*-------------------------------------------------------*/
require_once MAX_PATH . '/lib/OA/Admin/Template.php';
$oTpl = new OA_Admin_Template('banner-index.html');
$doBanners = OA_Dal::factoryDO('banners');
$doBanners->campaignid = $campaignid;
$doBanners->addListorderBy($listorder, $orderdirection);
$doBanners->selectAdd('storagetype AS type');
$doBanners->find();
$countActive = 0;
while ($doBanners->fetch() && ($row = $doBanners->toArray())) {
$banners[$row['bannerid']] = $row;
$banners[$row['bannerid']]['active'] = $banners[$row['bannerid']]["status"] == OA_ENTITY_STATUS_RUNNING;
$banners[$row['bannerid']]['description'] = $strUntitled;
if (isset($banners[$row['bannerid']]['alt']) && $banners[$row['bannerid']]['alt'] != '') {
$banners[$row['bannerid']]['description'] = $banners[$row['bannerid']]['alt'];
}
// mask banner name if anonymous campaign
$campaign_details = Admin_DA::getPlacement($row['campaignid']);
开发者ID:Spark-Eleven,项目名称:revive-adserver,代码行数:31,代码来源:campaign-banners.php
示例16: phpAds_registerGlobalUnslashed
require_once '../../init.php';
// Required files
require_once MAX_PATH . '/www/admin/config.php';
// Register input variables
// TODO: This variable has been added to demonstrate that clicking on
// links from error messages could bring the already entered e-mail address
// to the new form. Feel free to keep it or remove, depending on the
// implementation strategy.
phpAds_registerGlobalUnslashed('email');
/*-------------------------------------------------------*/
/* HTML framework */
/*-------------------------------------------------------*/
phpAds_PageHeader("4.1.3.4.7.1");
// TODO: The path here should probably start with the advertiser's data
// Not sure if we need to include the campaign and banner in the path though.
// We'll need to clarify this with the Product team.
echo "<img src='" . OX::assetPath() . "/images/icon-affiliate.gif' align='absmiddle'> <b>Link existing AdSense Account</b><br /><br /><br />";
phpAds_ShowSections(array("4.1.3.4.7.1"));
/*-------------------------------------------------------*/
/* Main code */
/*-------------------------------------------------------*/
require_once MAX_PATH . '/lib/OA/Admin/Template.php';
$oTpl = new OA_Admin_Template('adsense-link.html');
$oTpl->assign('fields', array(array('title' => 'Existing AdSense Account Identification', 'fields' => array(array('name' => 'email', 'label' => 'Email', 'value' => $email, 'id' => 'adsenseemail', 'title' => 'Provide valid email', 'clientValid' => 'required:true,email:true'), array('name' => 'phone5digits', 'label' => 'Last 5 digits of phone number', 'value' => '', 'id' => 'phonedigits', 'title' => 'Provide last 5 phone digits', 'maxlength' => '5', 'clientValid' => 'required:true,number:true'), array('name' => 'postalcode', 'label' => 'Postal Code', 'value' => '', 'id' => 'postcode', 'title' => 'Provide postal code', 'clientValid' => 'required:true'))), array('title' => 'Name for the AdSense Account in OpenX', 'fields' => array(array('name' => 'name', 'label' => 'Name for the AdSense Account in OpenX', 'value' => '', 'id' => 'accountname', 'title' => 'Provide name in OpenX', 'clientValid' => 'required:true')))));
//var_dump($oTpl);
//die();
$oTpl->display();
/*-------------------------------------------------------*/
/* HTML framework */
/*-------------------------------------------------------*/
phpAds_PageFooter();
开发者ID:Apeplazas,项目名称:plazadelatecnologia,代码行数:31,代码来源:adsense-link.php
示例17: displayPage
function displayPage($affiliateid, $form, $oPublisherDll = null)
{
//header and breadcrumbs
$oHeaderModel = MAX_displayWebsiteBreadcrumbs($affiliateid);
if ($affiliateid != "") {
OA_Admin_Menu::setPublisherPageContext($affiliateid, 'affiliate-edit.php');
addWebsitePageTools($affiliateid);
phpAds_PageHeader(null, $oHeaderModel);
} else {
phpAds_PageHeader("affiliate-edit_new", $oHeaderModel);
}
//get template and display form
$oTpl = new OA_Admin_Template('affiliate-edit.html');
$oTpl->assign('affiliateid', $affiliateid);
$oTpl->assign('form', $form->serialize());
if (isset($oPublisherDll)) {
$oTpl->assign('error', $oPublisherDll->_errorMessage);
$oTpl->assign('notice', $oPublisherDll->_noticeMessage);
}
$oTpl->assign('showAdDirect', defined('OA_AD_DIRECT_ENABLED') && OA_AD_DIRECT_ENABLED === true ? true : false);
$oTpl->assign('keyAddNew', $keyAddNew);
$oTpl->display();
//footer
phpAds_PageFooter();
}
开发者ID:ballistiq,项目名称:revive-adserver,代码行数:25,代码来源:affiliate-edit.php
示例18: setUploadConversionValues
?>
<?php
if ($this->_tpl_vars['disableSubmit']) {
?>
<br /><br /><input type="submit" name="submitsettings" value="<?php
echo OA_Admin_Template::_function_t(array('str' => 'SaveChanges'), $this);
?>
" tabindex="<?php
echo $this->_tpl_vars['tabindex']++;
?>
" disabled></form>
<?php
} else {
?>
<br /><br /><input type="submit" name="submitsettings" value="<?php
echo OA_Admin_Template::_function_t(array('str' => 'SaveChanges'), $this);
?>
" tabindex="<?php
echo $this->_tpl_vars['tabindex']++;
?>
"></form>
<?php
}
}
?>
<?php
echo '
<script language=\'JavaScript\' type="text/javascript">
<!--
function setUploadConversionValues() {
开发者ID:SamWinchester,项目名称:revive-adserver,代码行数:31,代码来源:%%34^34C^34C59B79%%option.html.php
示例19: smarty_core_load_plugins
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 't', '/var/www/html/adserver/revive-adserver-3.2.2/lib/templates/admin/form/custom-campaign-type-note.html', 16, false))), $this);
?>
<div>
<div <?php
if ($this->_tpl_vars['elem']['vars']['radioId']) {
?>
id="info-<?php
echo $this->_tpl_vars['elem']['vars']['radioId'];
?>
"<?php
}
?>
class="type-desc">
<?php
if ($this->_tpl_vars['elem']['vars']['radioId']) {
?>
<label for="<?php
echo $this->_tpl_vars['elem']['vars']['radioId'];
?>
"><?php
}
echo OA_Admin_Template::_function_t(array('str' => $this->_tpl_vars['elem']['vars']['infoKey']), $this);
if ($this->_tpl_vars['elem']['vars']['radioId']) {
?>
</label><?php
}
?>
</div>
</div>
开发者ID:SamWinchester,项目名称:revive-adserver,代码行数:31,代码来源:%%69^69C^69C356DF%%custom-campaign-type-note.html.php
示例20: unset
?>
<?php
}
?>
</td>
<?php
if ($this->_tpl_vars['configLocked']) {
?>
<?php
} else {
?>
<td><a href='plugin-index.php?action=uninstall&package=<?php
echo $this->_tpl_vars['name'];
?>
&<?php
echo OA_Admin_Template::_add_session_token(array(), $this);
?>
' ><span class="action icon uninstall">Uninstall</span></a></td><?php
}
?>
</tr>
<?php
}
?>
<?php
}
}
unset($_from);
?>
<?php
}
开发者ID:SamWinchester,项目名称:revive-adserver,代码行数:31,代码来源:%%7E^7E3^7E3F0C80%%plugin-index.html.php
注:本文中的OA_Admin_Template类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论