⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.rhtml

📁 用ruby on rails写的一个博客程序,还不错..ruby on rails的确是个好框架
💻 RHTML
📖 第 1 页 / 共 2 页
字号:
			</li>			<li><%= _("You can enable site wide comment moderation. If you do so, no comment or trackback will appear on your blog unless you validate it")%>.</li>			<li class="checkbox">				<label class="float" for="default_moderate_comments"><%= _("Enable comments moderation")%>:</label>				<input name="setting[default_moderate_comments]" id="default_moderate_comments" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.default_moderate_comments %> />				<input name="setting[default_moderate_comments]" type="hidden" value="0" />			</li>			<li class="checkbox">	        	<label class="float" for="default_allow_comments"><%= _("Enable comments by default")%>:</label>				<input name="setting[default_allow_comments]" id="default_allow_comments" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.default_allow_comments%> />		      	<input name="setting[default_allow_comments]" type="hidden" value="0" />			</li>			<li class="checkbox">				<label class="float" for="link_to_author"><%= _("Show your email address") %>:</label>				<input name="setting[link_to_author]" id="link_to_author" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.link_to_author%> />				<input name="setting[link_to_author]" type="hidden" value="0" />			</li>			<li class="checkbox">		      <label class="float" for="use_gravatar"><%= _("Enable gravatars")%>:</label>		      <input name="setting[use_gravatar]" id="use_gravatar" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.use_gravatar %> />		      <input name="setting[use_gravatar]" type="hidden" value="0" />			</li>			<li>				<%= _("You can optionally disable non-Ajax comments. Typo will always use Ajax for comment submission if Javascript is enabled, so non-Ajax comments are either from spammers or users without Javascript.")%>			</li>			<li class="checkbox">				<label for="sp_allow_non_ajax_comments" class="float"><%= _("Allow non-ajax comments") %>:</label>	          	<input name="setting[sp_allow_non_ajax_comments]" id="sp_allow_non_ajax_comments" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.sp_allow_non_ajax_comments%> />	          	<input name="setting[sp_allow_non_ajax_comments]" type="hidden" value="0" />			</li>			<li>				<label for="sp_article_auto_close" class="float"><%= _("Disable comments after")%></label>				<input name="setting[sp_article_auto_close]" size="4" id="sp_article_auto_close" type="text" value="<%= this_blog.sp_article_auto_close %>" /> <%= _("days") %>				<span class="float"><%= _("Set to 0 to never disable comments")%></span>			</li>			<li>				<p><%= _("Typo will automatically reject comments and trackbacks which contain over a certain amount of links in them")%>.</p>				<label class="float" for="sp_url_limit"><%= _("Max Links")%>:</label>	          	<input name="setting[sp_url_limit]" size="4" id="sp_url_limit" type="text" value="<%= this_blog.sp_url_limit %>" />	          	<span class="float"><%= _("Set to 0 to never reject comments")%></span>			</li>		</ul>      <p class="r"><%= save(_("Save Settings")) %></p>	</fieldset>	<fieldset id="notification" class="set">		<legend><%= _("Notification")%></legend>		<ul>			<li><%= _("Typo can notify you when new articles or comments are posted")%></li>			<li>				<label class="float" for="email_from"><%= _("Source Email")%>:</label>				<input name="setting[email_from]" size="25" id="email_from" type="text" value="<%= this_blog.email_from %>" />				<span class="float"><%= _("Email address used by Typo to send notifications")%>.</span>			</li>			<li>				<label for="jabber_address" class="float"><%=_("Jabber account")%>:</label>				<input name="setting[jabber_address]" size="20" id="jabber_address" type="text" value="<%= this_blog.jabber_address %>" />				<span class="float"><%= _("Jabber account to use when sending Jabber notifications") %>.</span>			</li>			<li>				<label class="float" for="jabber_password"><%= _("Jabber password")%>:</label>		      	<input name="setting[jabber_password]" size="20" id="jabber_password" type="password" value="<%= this_blog.jabber_password %>" />			</li>		</ul>      <p class="r"><%= save(_("Save Settings")) %></p>	</fieldset>	<fieldset id="spam" class="set">		<legend><%= _("Spam protection")%></legend>		<ul>			<li><%= _("Enabling spam protection will make typo compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots")%>.</li>			<li class="checkbox">				<label for="sp_global" class="float"><%= _("Enable spam protection")%>:</label>				<input name="setting[sp_global]" id="sp_global" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.sp_global%> /><input name="setting[sp_global]" type="hidden" value="0" />			</li>			<li><%= _("Typo can (optionally) use the %s spam-filtering service.  You need to register with Akismet and receive an API key before you can use their service.  If you have an Akismet key, enter it here", '<a href="http://akismet.com">Akismet</a>')%> .			</li>			<li>				<label class="float" for="sp_akismet_key"><%= _("Akismet Key")%>:</label>				<input name="setting[sp_akismet_key]" id="sp_akismet_key" type="text" value="<%=h this_blog.sp_akismet_key %>" />			</li>		</ul>        <p class="r"><%= save(_("Save Settings")) %></p>	</fieldset>	<fieldset id="resources" class="set">		<legend><%= _("Resource Settings")%></legend>		<ul>			<li><%= _("The below settings act as defaults when you choose to publish an enclosure with iTunes metadata")%>.</li>			<li>				<label for="itunes_author" class="float"><%= _("Author")%>:</label>	          	<input name="setting[itunes_author]" size="25" id="itunes_author" type="text" value="<%= this_blog.itunes_author %>" />			</li>			<li>	          	<label for="itunes_subtitle" class="float"><%= _("Subtitle")%>: <span class="mandatory">*</span></label>	          	<input name="setting[itunes_subtitle]" size="25" id="itunes_subtitle" type="text" value="<%= this_blog.itunes_subtitle %>" />			</li>			<li>				<label class="float" for="itunes_summary"><%= _("Summary")%>: <span class="mandatory">*</span></label>				<textarea name="setting[itunes_summary]" cols="40" rows="3"><%=h this_blog.itunes_summary %></textarea>				<span class="float mandatory">* <%= _("Setting for channel")%></span>			</li>			<li>	          <label class="float" for="itunes_email"><%= _("Email")%>: <span class="mandatory">**</span></label>	          <input name="setting[itunes_email]" size="25" id="itunes_email" type="text" value="<%= this_blog.itunes_email %>" />			</li>			<li>				<label class="float" for="itunes_name"><%= _("Optional Name")%>: <span class="mandatory">**</span></label>				<input name="setting[itunes_name]" size="25" id="itunes_name" type="text" value="<%= this_blog.itunes_name %>" />				<span class="float mandatory">** <%= _("Not published by Apple")%></span>			</li>			<li>				<label class="float" for="itunes_copyright"><%= _("Copyright Information")%>:</label>	          	<input name="setting[itunes_copyright]" size="25" id="itunes_copyright" type="text" value="<%= this_blog.itunes_copyright %>" />			</li>			<li class="checkbox">				<label class="float" for="itunes_explicit"><%= _("Explicit")%>:</label>	          	<input name="setting[itunes_explicit]" id="itunes_explicit" type="checkbox"  value="1" <%= 'checked="checked"' if this_blog.itunes_explicit%> />				<input name="setting[itunes_explicit]" type="hidden" value="0" />			</li>		</ul>        <p class="r"><%= save(_("Save Settings")) %></p>	</fieldset>	<fieldset id="misc" class="set">		<legend><%= _("Cache")%></legend>		<ul>			<li><%= link_to _('Empty Fragment Cache'), :controller => '/admin/cache', :action => 'sweep' %></li>			<li><%= link_to _('Rebuild cached HTML'), :controller => '/admin/cache', :action => 'sweep_html' %></li>	     	<p id="users"><%= _("There are %d entries in the cache", @page_cache_size) %></p>		</ul>	</fieldset>	<div id="operations" class="tasks">    <%= save(_("Save Settings")) %>  </div></div>  <% end %>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -