Dual Functional S-Doped g-C3N4 Pinhole Porous Nanosheets for Selective Fluorescence Sensing of Ag+ and Visible-Light Photocatalysis of Dyes