Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
83d943da
Commit
83d943da
authored
11 years ago
by
colemanw
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup snippet.tpl
parent
8547369d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/CRM/common/snippet.tpl
+22
-21
22 additions, 21 deletions
templates/CRM/common/snippet.tpl
with
22 additions
and
21 deletions
templates/CRM/common/snippet.tpl
+
22
−
21
View file @
83d943da
...
...
@@ -22,35 +22,36 @@
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{
if
$config
->
debug
}
*}
{
strip
}
{
if
$config
->
debug
}
{
include
file
=
"CRM/common/debug.tpl"
}
{/
if
}
{/
if
}
{
if
$smarty.get.snippet
eq
4
}
{
if
$smarty.get.snippet
eq
4
}
{
if
$isForm
}
{
include
file
=
"CRM/Form/default.tpl"
}
{
include
file
=
"CRM/Form/default.tpl"
}
{
else
}
{
include
file
=
$tplFile
}
{
include
file
=
$tplFile
}
{/
if
}
{
else
}
{
else
}
{
if
$smarty.get.snippet
eq
2
}
{
include
file
=
"CRM/common/print.tpl"
}
{
include
file
=
"CRM/common/print.tpl"
}
{
else
}
<div
class=
"crm-container-snippet"
bgColor=
"white"
>
<div
class=
"crm-container-snippet"
>
{* Display Status messages unless we are outputting json. *}
{
if
$smarty.get.snippet
neq
'json'
}
{
include
file
=
"CRM/common/status.tpl"
}
{/
if
}
{* Display Status messages unless we are outputting json. *}
{
if
$smarty.get.snippet
neq
'json'
}
{
include
file
=
"CRM/common/status.tpl"
}
{/
if
}
<!-- .tpl file invoked:
{
$tplFile
}
. Call via form.tpl if we have a form in the page. -->
{
if
!
empty
(
$isForm
)
}
{
include
file
=
"CRM/Form/default.tpl"
}
{
else
}
{
include
file
=
$tplFile
}
{/
if
}
<!-- .tpl file invoked:
{
$tplFile
}
. Call via form.tpl if we have a form in the page. -->
{
if
!
empty
(
$isForm
)
}
{
include
file
=
"CRM/Form/default.tpl"
}
{
else
}
{
include
file
=
$tplFile
}
{/
if
}
</div>
{* end crm-container-snippet div *}
</div>
{* end crm-container-snippet div *}
{/
if
}
{/
if
}
{/
if
}
{/
strip
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment