Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们如何区分 joomla 2.5 中的超级用户和注册用户?在 joomla 1.5 中有用户类型选项,但在 2.5 中没有选项。
我相信你最好这样做:
例如
$groups = JAccess::getGroupsByUser($UserId) if(JAccess::getAssetRules(1)->allow('core.admin', $groups)) { // we have root }
我有一个用户填写公司信息的表格。然后我使用 jquery 来验证地址,在 submitHandler 中我有以下脚本来获取已验证地址的 long/lat,但 long/lat 没有与表单一起提交。(我目前在链接中硬编码了用于测试目的的 long/lat 查找的地址。)另外请注意,您需要为 Google Maps API v3 提供您自己的 API