Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
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
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
a0521a26
Commit
a0521a26
authored
15 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Core templates are in core/templates directory
parent
375d58cf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/core/templates/google_ad.tpl.php
+0
-34
0 additions, 34 deletions
htdocs/core/templates/google_ad.tpl.php
htdocs/core/templates/login.tpl.php
+13
-2
13 additions, 2 deletions
htdocs/core/templates/login.tpl.php
with
13 additions
and
36 deletions
htdocs/core/templates/google_ad.tpl.php
deleted
100644 → 0
+
0
−
34
View file @
375d58cf
{
*
Copyright
(
C
)
2009
Regis
Houssin
<
regis
@
dolibarr
.
fr
>
*
*
This
program
is
free
software
;
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
;
either
version
2
of
the
License
,
or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
;
without
even
the
implied
warranty
of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
*
along
with
this
program
;
if
not
,
write
to
the
Free
Software
*
Foundation
,
Inc
.
,
59
Temple
Place
-
Suite
330
,
Boston
,
MA
02111
-
1307
,
USA
.
*
*
$Id
$
*
}
<!--
BEGIN
GOOGLE
AD
TEMPLATE
-->
<
script
type
=
"text/javascript"
><!--
google_ad_client
=
"
{
$main_google_ad_client
}
"
;
/* {$main_google_ad_width}x{$main_google_ad_height}, {$main_google_ad_name} */
google_ad_slot
=
"
{
$main_google_ad_slot
}
"
;
google_ad_width
=
{
$main_google_ad_width
};
google_ad_height
=
{
$main_google_ad_height
};
//-->
</
script
>
<
script
type
=
"text/javascript"
src
=
"http://pagead2.googlesyndication.com/pagead/show_ads.js"
>
</
script
>
<!--
END
GOOGLE
AD
TEMPLATE
-->
\ No newline at end of file
This diff is collapsed.
Click to expand it.
htdocs/core/templates/login.tpl.php
+
13
−
2
View file @
a0521a26
...
...
@@ -23,6 +23,7 @@ header("Content-type: text/html; charset=".$conf->file->character_set_client);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- BEGIN TEMPLATE -->
<html>
<head>
...
...
@@ -163,7 +164,17 @@ function donnefocus() {
<?php
if
(
$main_google_ad_client
)
{
?>
<div
align=
"center"
>
<?php
include
(
'google_ad.tpl.php'
);
?>
<script
type=
"text/javascript"
>
<!--
google_ad_client
=
"
{$main_google_ad_client}
"
;
/* {$main_google_ad_width}x{$main_google_ad_height}, {$main_google_ad_name} */
google_ad_slot
=
"
{$main_google_ad_slot}
"
;
google_ad_width
=
{
$main_google_ad_width
};
google_ad_height
=
{
$main_google_ad_height
};
//-->
</script>
<script
type=
"text/javascript"
src=
"http://pagead2.googlesyndication.com/pagead/show_ads.js"
>
</script>
</div>
<?php
}
?>
...
...
@@ -179,4 +190,4 @@ function donnefocus() {
</body>
</html>
<!-- END SMARTY TEMPLATE -->
\ No newline at end of file
<!-- END TEMPLATE -->
\ No newline at end of file
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