[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Search for images within sub-directories of the theme's directory.
From: |
Towheed Mohammed |
Subject: |
Search for images within sub-directories of the theme's directory. |
Date: |
Thu, 23 Feb 2012 18:29:37 -0800 (PST) |
The following components:
1. image
2. progress_bar, and
3. circular_progress
have the 'theme_dir' property. A theme designer can use this property to place
image files within sub-directories of the theme's directory. However,
00_header searches for images only in the theme's directory:
if [ x"`echo "$themedir"/*.jpg`" != x"$themedir/*.jpg" ] || [ x"`echo
"$themedir"/*.jpeg`" != x"$themedir/*.jpeg" ]; then
cat << EOF
insmod jpeg
EOF
fi
if [ x"`echo "$themedir"/*.png`" != x"$themedir/*.png" ]; then
cat << EOF
insmod png
EOF
fi
if [ x"`echo "$themedir"/*.tga`" != x"$themedir/*.tga" ]; then
cat << EOF
insmod tga
EOF
fi
Please modify 00_header so that it will search for image files within
sub-directories of the theme's directory.
Thank you.
Towheed Mohammed
- Search for images within sub-directories of the theme's directory.,
Towheed Mohammed <=