[packages/dokuwiki] pld branding also to new theme
glen
glen at pld-linux.org
Sun Sep 16 17:31:08 CEST 2012
commit 0e84e1c310fed643ee2e12723b3270f9d9074fba
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Sep 16 18:30:48 2012 +0300
pld branding also to new theme
dokuwiki.spec | 3 ++-
pld-branding.patch | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/dokuwiki.spec b/dokuwiki.spec
index a6e456d..e570138 100644
--- a/dokuwiki.spec
+++ b/dokuwiki.spec
@@ -224,7 +224,8 @@ cp -p %{SOURCE10} $RPM_BUILD_ROOT%{_appdir}/lib/images/interwiki/pld.gif
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_appdir}/lib/images/fileicons/jude.png
cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_appdir}/lib/images/fileicons/asta.png
-cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_appdir}/lib/tpl/default/images/button-pld.png
+cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_appdir}/lib/tpl/dokuwiki/images/button-pld.png
+ln $RPM_BUILD_ROOT%{_appdir}/lib/tpl/{dokuwiki,default}/images/button-pld.png
# hardlink identical icons.
findup -m $RPM_BUILD_ROOT
diff --git a/pld-branding.patch b/pld-branding.patch
index 301475c..e903b6a 100644
--- a/pld-branding.patch
+++ b/pld-branding.patch
@@ -20,3 +20,14 @@
<a <?php echo $tgt?> href="http://dokuwiki.org/" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
<?php
+--- dokuwiki/lib/tpl/dokuwiki/tpl_footer.php~ 2012-09-10 18:15:12.000000000 +0300
++++ dokuwiki/lib/tpl/dokuwiki/tpl_footer.php 2012-09-16 18:27:15.717037872 +0300
+@@ -24,6 +24,8 @@
+ src="<?php echo tpl_basedir(); ?>images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" /></a>
+ <a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" <?php echo $target?>><img
+ src="<?php echo tpl_basedir(); ?>images/button-css.png" width="80" height="15" alt="Valid CSS" /></a>
++ <a href="http://www.pld-linux.org/" title="PLD Linux" <?php echo $target?>><img
++ src="<?php echo tpl_basedir(); ?>images/button-pld.png" width="80" height="15" alt="PLD Linux" /></a>
+ <a href="http://dokuwiki.org/" title="Driven by DokuWiki" <?php echo $target?>><img
+ src="<?php echo tpl_basedir(); ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
+ </div>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki.git/commitdiff/0e84e1c310fed643ee2e12723b3270f9d9074fba
More information about the pld-cvs-commit
mailing list