eZPublishCommunityProject(LegacyStack)  2013.6
visual/templateview.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $http = eZHTTPTool::instance()
 
 $ini = eZINI::instance()
 
 $module = $Params['Module']
 
 $notRemoved = array()
 
if($module->isCurrentAction(
'RemoveOverride')) 
$overrideArray = eZTemplateDesignResource::overrideArray( $siteAccess )
 
if($module->isCurrentAction(
'NewOverride')) if($module->
isCurrentAction(
'UpdateOverride')) 
$overrideINISaveFailed = false
 
 $parameters = $Params["Parameters"]
 
if($siteINI->variable(
'BackwardCompatibilitySettings',
'UsingDesignAdmin34')==
'enabled') 
$Result = array()
 
 $Result ['content'] = $tpl->fetch( "design:visual/templateview.tpl" )
 
 $Result ['path']
 
foreach($parameters as $param)
if($module->isCurrentAction(
'SelectCurrentSiteAccess')) if(!$http->
hasSessionVariable(
'eZTemplateAdminCurrentSiteAccess')) 
$siteAccess = $http->sessionVariable( 'eZTemplateAdminCurrentSiteAccess' )
 
 $siteINI = eZINI::instance( 'site.ini' )
 
 $template = ""
 
 $templateSettings = false
 
 $tpl = eZTemplate::factory()
 

Variable Documentation

$ini = eZINI::instance()
$module = $Params['Module']
$notRemoved = array()
if ($module->isCurrentAction( 'RemoveOverride')) $overrideArray = eZTemplateDesignResource::overrideArray( $siteAccess )
if ($module->isCurrentAction( 'NewOverride')) if ($module->isCurrentAction( 'UpdateOverride')) $overrideINISaveFailed = false
$parameters = $Params["Parameters"]
if ($siteINI->variable( 'BackwardCompatibilitySettings', 'UsingDesignAdmin34')== 'enabled') $Result = array()
$Result['content'] = $tpl->fetch( "design:visual/templateview.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => "/visual/templatelist/",
'text' => ezpI18n::tr( 'kernel/design', 'Template list' ) ),
array( 'url' => false,
'text' => ezpI18n::tr( 'kernel/design', 'Template view' ) ) )
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:86
foreach ($parameters as $param) if ($module->isCurrentAction( 'SelectCurrentSiteAccess')) if (!$http->hasSessionVariable( 'eZTemplateAdminCurrentSiteAccess')) $siteAccess = $http->sessionVariable( 'eZTemplateAdminCurrentSiteAccess' )
$siteINI = eZINI::instance( 'site.ini' )
$template = ""
$templateSettings = false