Permalink
Browse files

tagging: use only one picture for both versions (refs #1470)

git-svn-id: file:///var/svn/freetz/trunk@7526 149334a1-2f27-0410-a3b9-fc62619ac1e6
  • Loading branch information...
1 parent 7c89dae commit a5d9ad11e1e7ea4b4d544ae6814306831902decb cuma committed Aug 25, 2011
View
4 fwmod
@@ -881,17 +881,15 @@ if [ "$DO_MOD" -gt 0 ]; then
if [ -z "$tagging_files" ]; then
tagging_files="$(find ${HTML_MOD_DIR} -name kopfbalken_links.gif)"
tagging_position="center"
- tagging_picture="newer"
fi
# older (big header @top)
if [ -z "$tagging_files" ]; then
tagging_files="$(find ${HTML_MOD_DIR} -name fw_header980.gif)"
tagging_position="west"
- tagging_picture="older"
fi
# tagging
[ -z "$tagging_files" ] && error 1 "tagging failed, no files to tag found."
- tagging_picture="${TAGGING_DIR}/${FREETZ_TAGGING_STRING}/${tagging_picture}.png"
+ tagging_picture="${TAGGING_DIR}/${FREETZ_TAGGING_STRING}.png"
for tagging_file in $tagging_files; do
echo2 "${tagging_file}"
composite -dissolve 100% -gravity $tagging_position -quality 100 $tagging_picture $tagging_file $tagging_file
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Deleted file not rendered
Deleted file not rendered

0 comments on commit a5d9ad1

Please sign in to comment.