We performed an x-ray scattering study of the smectic A (SmA) ordering of t
he liquid crystal 8CB (octylcyanobiphenyl) confined to a control porous gla
ss with a typical void radius R = 0.2 mu m; The voids were either nontreate
d or covered with silane. The results reveal a strong influence of spatial
restriction and surface treatment on the temperature evolution of smectic o
rdering. The observations are qualitatively reproduced using the Landau-Gin
sburg approach.