本文整理汇总了PHP中source\libs\Resource::getInstallUrl方法的典型用法代码示例。如果您正苦于以下问题:PHP Resource::getInstallUrl方法的具体用法?PHP Resource::getInstallUrl怎么用?PHP Resource::getInstallUrl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类source\libs\Resource
的用法示例。
在下文中一共展示了Resource::getInstallUrl方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<script type='text/javascript' src='<?php
echo Resource::getCommonUrl();
?>
/libs/jquery.validate/localization/messages_zh.min.js'></script>
<!--[if lt IE 9]>
<script src="<?php
echo Resource::getInstallUrl();
?>
/js/html5.js"></script>
<script src="<?php
echo Resource::getInstallUrl();
?>
/js/selectivizr.js"></script>
<script src="<?php
echo Resource::getInstallUrl();
?>
/js/respond.js"></script>
<![endif]-->
<style type="text/css" id="custom-background-css">
body.custom-background { background-color: #f0f0f0; }
</style>
</head>
<body class="home blog custom-background chrome">
<div class="site-top">
<div class="clearfix container">
<div class="site-branding">
<h1 class="site-title"><a href="http://www.lulucms.com" rel="home" title="LuLu CMS">
LuLu CMS</a></h1>
</div>
示例2:
<input value="" type="email" name="email" id="email" class="class_input email required" />
<span class="email"></span>
</td>
</tr>
<!-- <tr>
<th height="30" align="right">安装测试数据:</th>
<td>
<input value="Y" type="checkbox" name="testData" style="margin-left: 5px;" id="testData" />
是
</td>
</tr>
<tr>
<th height="30" align="right"> </th>
<td>
<p class="red">全新安装会覆盖旧数据 </p>
</td>
</tr>-->
</table>
<div class="inst_btn_area">
<button type="button" onclick="history.go(-1);return false;" class="button">返 回</button>
<button type="submit" class="button">下一步</button>
</div>
<?php
ActiveForm::end();
?>
</div>
<?php
Resource::jsFile(Resource::getCommonUrl('/js/jquery.min.js'));
Resource::jsFile(Resource::getInstallUrl("/js/jquery.db.validate.js"));