|
Monday, January 21
Where's my itty-bitty keyboard?
What's wrong with this picture?If it's not obvious, enter a phone number. Is it too much to ask that a field be large enough to see what you type? Why do I encounter this gaff on site after site? Big e-commerce sites do this all the time. It's almost as if the person putting the form together only looks at it after he or she makes it, and doesn't actually try it. This doesn't boost my confidence in a site when I see key details like this overlooked. Sloppy, sloppy, sloppy. '; } else { if(stristr($filename,"archive")) { $dir=$_SERVER['DOCUMENT_ROOT']; $template='_01_archive.html'; $tail=strlen($template); $thisArchive=$filename; //$files=scandir($dir); $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } sort($files); $earlyarch=""; $laterarch=""; $prevarch=""; $next=0; foreach($files as $file) { if (substr($file,-$tail)==$template) { if ($next==1) { $laterarch=$file; $earlyarch=$prevarch; $next=0; } if ($file==$thisArchive) { $next=1; } else { $prevarch=$file; $earlyarch=$prevarch; } } } $link=''; $divider=''; if(file_exists($earlyarch)) { $link='< Earlier Archive'; $divider=" | "; } if(file_exists($laterarch)) { $link=$link.$divider.'Later Archive >'; } $link=$link.' '; } } echo($link); ?> |