* add events of login page.

This commit is contained in:
Catouse
2013-09-23 19:52:52 +08:00
parent 245e10b6b5
commit d3e19f9a2d
4 changed files with 131 additions and 6 deletions
+12
View File
@@ -539,6 +539,18 @@ class commonModel extends model
echo html::a(helper::createLink('misc', 'qrCode'), "<i class='icon-mobile-phone icon-large'></i>" . $lang->user->mobileLogin, '', "class='qrCode $color'");
}
/**
* Print QR code Link.
*
* @static
* @access public
* @return void
*/
public static function getQRCodeLink()
{
echo helper::createLink('misc', 'qrCode');
}
/**
* Diff two string. (see phpt)
*