6-5 管理画面用テンプレートタグ
131ページ
App:Settingタグ
<mtapp:Setting
id="foo"
required="1"
label="Username"
label_class="top-label"
content_class="field-content-text"
show_hint="1"
hint="The username used to login"
help_page="foo_help"
help_section="to_display"
show_warning="1"
warning="warning!!">
<input type="text" name="name" id="name" value="<$mt:Var name="name" escape="html"$>" />
</mtapp:setting>
133ページ
App:SettingGroupタグ
<mtapp:SettingGroup
id="foo"
class="bar"
shown="1">
<mtapp:Setting ...>
<mtapp:Setting ...>
<mtapp:Setting ...>
</mtapp:SettingGroup>
134ページ
App:Widgetタグ
<mtapp:Widget
id="foo"
class="my-widget"
label="<__trans phrase="All About Me">"
can_close="1">
(contents of widget go here)
</mtapp:Widget>
136ページ
App:StatusMsgタグ
<mtapp:StatusMsg
id="foo"
class="alert"
rebuild="all"
can_close="1">
error!
</mtapp:StatusMsg>
137ページ
App:ListFiltersタグ
<mtapp:widget
id="quickfilters"
label="<__trans phrase="Quickfilters">">
<$mtapp:ListFilters$>
</mtapp:widget>
138ページ
App:PageActionsタグ
<$MTApp:PageActions from="list_template"$>
App:Formタグ
<mtapp:Form id="update" mode="update_blog_name">
Blog Name: <input type="text" name="blog_name" />
<input type="submit" />
</mtapp:Form>
140ページ
App:Linkタグ
<mtapp:Link mode="foo" type="entry" bar="1" />
141ページ
App:ActionBarタグ
<mtapp:ActionBar bar_position="bottom" form_id="foo" />
142ページ
App:Listingタグ
<mtapp:Listing type="entry">
(contents of one row for table)
</mtapp:Listing>
144ページ
Sectionタグ
<mt:Section cache_prefix="tagcloud" period="3600" by_blog="1" by_user="1">
<div id="tag-cloud">
<ul id="tag-cloud-list">
<mt:loop name="tag_loop">
<li class="tag-<$mt:var name="rank"$>"><a href="javascript:void(0)" onclick="recentEntriesForTag('<mt:var name="name" escape="js">', 'tag-cloud-recent-entries');return false"><$mt:var name="name" escape="html"$></a></li>
</mt:loop>
</ul>
</div>
</mt:Section>