app->watermarkDir)) { $found = 0; $extensions = array ("png", "gif", "tif"); $extensions_string = "png, gif, tif"; while ($wmFile = readdir($wmDir)) { $matches_ext = 0; foreach ($extensions as $ext) { if (eregi("\\.$ext$", $wmFile, $regs)) { $matches_ext = 1; } } if ($matches_ext) { $found++; if ($found == 1) { // Start select form element on first matching file print "" . _("Watermark") . ": "; print "\n"; } } else { $err=printf (_("Could not open directory %s"), $gallery->app->watermarkDir); echo gallery_error($err); } ?>
:
type="radio" name="wmAlign" value="1"> | type="radio" name="wmAlign" value="2"> | type="radio" name="wmAlign" value="3"> |
type="radio" name="wmAlign" value="4"> | type="radio" name="wmAlign" value="5"> | type="radio" name="wmAlign" value="6"> |
type="radio" name="wmAlign" value="7"> | type="radio" name="wmAlign" value="8"> | type="radio" name="wmAlign" value="9"> |
type="radio" name="wmAlign" value="10"> X= Y= |
> |
> |