@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb007 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
v-mt
/
tmpl
/
cms
/
include
/
Path :
Upload File :
New :
File
Dir
//homepage/v-mt/tmpl/cms/include/entry_table.tmpl
<mt:if name="object_type" eq="entry"> <$mt:setvar name="save_button_title" value="<__trans phrase="Save these entries (s)">"$> <$mt:setvar name="republish_button_title" value="<__trans phrase="Republish selected entries (r)">"$> <$mt:setvar name="delete_button_title" value="<__trans phrase="Delete selected entries (x)">"$> <mt:else> <$mt:setvar name="save_button_title" value="<__trans phrase="Save these pages (s)">"$> <$mt:setvar name="republish_button_title" value="<__trans phrase="Republish selected pages (r)">"$> <$mt:setvar name="delete_button_title" value="<__trans phrase="Delete selected pages (x)">"$> </mt:if> <mt:if name="blog_id"><mt:var name="blog_view" value="1"></mt:if> <mt:setvarblock name="action_buttons"> <mt:if name="object_type" eq="entry"> <mt:if name="is_power_edit"> <a href="javascript:void(0)" mt:command="submit" mt:mode="save_entries" accesskey="s" title="<$mt:var name="save_button_title"$>" ><__trans phrase="Save"></a> <mt:else> <mt:if name="can_republish"> <a href="javascript:void(0)" onclick="doForMarkedInThisWindow(getByID('<$mt:var name="object_type"$>-listing-form'), '<mt:var name="object_label" lower_case="1" escape="js">', '<mt:var name="object_label_plural" lower_case="1" escape="js">', null, 'rebuild_new_phase', {<mt:if name="blog_id">'blog_id': '<mt:var name="blog_id">'</mt:if>}, '<__trans phrase="to republish" escape="js">'); return false;" accesskey="r" title="<$mt:var name="republish_button_title"$>" ><__trans phrase="Republish"></a> </mt:if> <a href="javascript:void(0)" onclick="doRemoveItems(getByID('<$mt:var name="object_type"$>-listing-form'), '<mt:var name="object_label" lower_case="1" escape="js">', '<mt:var name="object_label_plural" lower_case="1" escape="js">'); return false;" accesskey="x" title="<$mt:var name="delete_button_title"$>" ><__trans phrase="Delete"></a> </mt:if> <mt:else> <mt:if name="is_power_edit"> <a href="javascript:void(0)" mt:command="submit" mt:mode="save_pages" accesskey="s" title="<$mt:var name="save_button_title"$>" ><__trans phrase="Save"></a> <mt:else> <mt:if name="can_republish"> <a href="javascript:void(0)" onclick="doForMarkedInThisWindow(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="page" escape="js">', '<__trans phrase="pages" escape="js">', null, 'rebuild_new_phase', {<mt:if name="blog_id">'blog_id': '<mt:var name="blog_id">'</mt:if>}, '<__trans phrase="to republish" escape="js">'); return false;" accesskey="r" title="<$mt:var name="republish_button_title"$>" ><__trans phrase="Republish"></a> </mt:if> <a href="javascript:void(0)" onclick="doRemoveItems(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="page" escape="js">', '<__trans phrase="pages" escape="js">'); return false;" name="delete_pages" value="<__trans phrase="Delete">" accesskey="x" title="<$mt:var name="delete_button_title"$>" ><__trans phrase="Delete"></a> </mt:if> </mt:if> </mt:setvarblock> <mt:if name="is_power_edit"> <$mt:setvar name="hide_pager" value="1"$> </mt:if> <mtapp:listing hide_pager="$hide_pager"> <mt:if __first__> <thead> <tr> <mt:unless name="is_power_edit"> <th class="cb"><input type="checkbox" name="id-head" value="all" class="select" /></th> </mt:unless> <th class="status<mt:unless name="is_power_edit"> si</mt:unless>"> <mt:unless name="is_power_edit"> <img src="<$mt:var name="static_uri"$>images/status_icons/invert-flag.gif" alt="<__trans phrase="Status">" title="<__trans phrase="Status">" width="9" height="9" /> <mt:else> <__trans phrase="Status"> </mt:unless> </th> <th class="title"><__trans phrase="Title"></th> <th class="category"><mt:if name="object_type" eq="page"><__trans phrase="Folder"><mt:else><__trans phrase="Category"></mt:if></th> <th class="author"><__trans phrase="Author"></th> <mt:unless name="blog_view"> <th class="weblog"><__trans phrase="Blog"></th> </mt:unless> <th class="date"><mt:if name="object_type" eq="page"><__trans phrase="Last Modified"><mt:else><__trans phrase="Created"></mt:if></th> <mt:unless name="is_power_edit"> <th class="view"><span><__trans phrase="View"></span></th> </mt:unless> </tr> </thead> <tbody> </mt:if> <tr class="<mt:if name="__odd__">odd<mt:else>even</mt:if>"> <mt:unless name="is_power_edit"> <td class="cb"> <mt:if name="has_edit_access"> <input type="checkbox" name="id" value="<$mt:var name="id"$>" class="select" /> <mt:else>   </mt:if> </td> </mt:unless> <mt:if name="has_publish_access"> <td class="status"> <select name="status_<$mt:var name="id"$>"> <option value="1"<mt:if name="status_draft"> selected="selected"</mt:if>><__trans phrase="Unpublished (Draft)"></option> <option value="2"<mt:if name="status_publish"> selected="selected"</mt:if>><__trans phrase="Published"></option> <option value="3"<mt:if name="status_review"> selected="selected"</mt:if>><__trans phrase="Unpublished (Review)"></option> <option value="4"<mt:if name="status_future"> selected="selected"</mt:if>><__trans phrase="Scheduled"></option> </select> </td> <mt:else> <td class="status si<mt:if name="status_draft"> status-draft</mt:if><mt:if name="status_publish"> status-publish</mt:if><mt:if name="status_review"> status-review</mt:if><mt:if name="status_future"> status-future</mt:if>"> <mt:if name="status_draft"> <a href="<$mt:var name="script_url"$>?__mode=list_<mt:var name="object_type"><mt:if name="blog_id">&blog_id=<$mt:var name="blog_id"$></mt:if>&filter=status&filter_val=1" title="<mt:if name="object_type" eq="entry"><__trans phrase="Only show unpublished entries"><mt:else><__trans phrase="Only show unpublished pages"></mt:if>"><img src="<$mt:var name="static_uri"$>images/spacer.gif" alt="<__trans phrase="Unpublished (Draft)">" width="9" height="9" /></a> </mt:if> <mt:if name="status_publish"> <a href="<$mt:var name="script_url"$>?__mode=list_<mt:var name="object_type"><mt:if name="blog_id">&blog_id=<$mt:var name="blog_id"$></mt:if>&filter=status&filter_val=2" title="<mt:if name="object_type" eq="entry"><__trans phrase="Only show published entries"><mt:else><__trans phrase="Only show published pages"></mt:if>"><img src="<$mt:var name="static_uri"$>images/spacer.gif" alt="<__trans phrase="Published">" width="9" height="9" /></a> </mt:if> <mt:if name="status_review"> <a href="<$mt:var name="script_url"$>?__mode=list_<mt:var name="object_type"><mt:if name="blog_id">&blog_id=<$mt:var name="blog_id"$></mt:if>&filter=status&filter_val=3" title="<mt:if name="object_type" eq="entry"><__trans phrase="Only show entries for review"><mt:else><__trans phrase="Only show pages for review"></mt:if>"><img src="<$mt:var name="static_uri"$>images/spacer.gif" alt="<__trans phrase="Unpublished (Review)">" width="9" height="9" /></a> </mt:if> <mt:if name="status_future"> <a href="<$mt:var name="script_url"$>?__mode=list_<mt:var name="object_type"><mt:if name="blog_id">&blog_id=<$mt:var name="blog_id"$></mt:if>&filter=status&filter_val=4" title="<mt:if name="object_type" eq="entry"><__trans phrase="Only show scheduled entries"><mt:else><__trans phrase="Only show scheduled pages"></mt:if>"><img src="<$mt:var name="static_uri"$>images/spacer.gif" alt="<__trans phrase="Scheduled">" width="9" height="9" /></a> </mt:if> </td> </mt:if> <td class="title"<mt:if name="view_expanded"> colspan="<mt:if name="object_type" eq="page"><mt:if name="blog_view">4<mt:else>5</mt:if><mt:else><mt:if name="blog_view">5<mt:else>6</mt:if></mt:if>"</mt:if>> <mt:if name="view_expanded"> <strong><a href="<$mt:var name="script_url"$>?__mode=view&_type=<mt:var name="object_type">&id=<$mt:var name="id"$>&blog_id=<$mt:var name="blog_id"$>"><$mt:var name="title_long"$></a></strong> <mt:if name="excerpt"> — <$mt:var name="excerpt"$> </mt:if> <mt:else> <mt:if name="has_edit_access"> <mt:if name="is_power_edit"> <mt:if name="title"> <input name="title_<$mt:var name="id"$>" value="<$mt:var name="title" escape="html"$>" /> <mt:else> <input type="hidden" name="title_<$mt:var name="id"$>" value="" /> <input name="no_title_<$mt:var name="id"$>" style="color:#999;" value="<$mt:var name="title_short" escape="html"$>" onfocus="if(this.value=='<$mt:var name="title_short" escape="js"$>'){this.value=''; this.style.color='#000';};" onblur="if((this.value=='<$mt:var name="title_short" escape="js"$>') || (this.value=='')){ this.value = '<$mt:var name="title_short" escape="js"$>'; this.style.color='#999'; }else{ title_<$mt:var name="id"$>.value=this.value; };" /> </mt:if> <mt:else> <a href="<$mt:var name="script_url"$>?__mode=view&_type=<mt:var name="object_type">&id=<$mt:var name="id"$>&blog_id=<$mt:var name="blog_id"$>"><$mt:var name="title" escape="html" default="..."$></a> </mt:if> <mt:else> <$mt:var name="title" escape="html"$> </mt:if> </mt:if> </td> <mt:if name="view_expanded"> </tr> <tr class="<mt:if name="__odd__">odd<mt:else>even</mt:if> slave"> <td> </td> <td> </td> <td><mt:if name="has_edit_access"><a href="<$mt:var name="script_url"$>?__mode=view&_type=<mt:var name="object_type">&id=<$mt:var name="id"$>&blog_id=<$mt:var name="blog_id"$>"><mt:if name="object_type" ne="page"><__trans phrase="Edit Entry"><mt:else><__trans phrase="Edit Page"></mt:if></a><mt:else> </mt:if></td> </mt:if> <td class="category"> <mt:if name="is_editable"> <select name="category_id_<$mt:var name="id"$>"> <option value=""><__trans phrase="None"></option> <mt:loop name="row_category_loop"> <option value="<$mt:var name="category_id"$>"<mt:if name="category_is_selected"> selected="selected"</mt:if>><$mt:var name="category_label_spacer"$><$mt:var name="category_label"$></option> </mt:loop> </select> <mt:else> <mt:if name="object_type" eq="entry"> <$mt:var name="category_label" escape="html" default="-"$> <mt:else> <$mt:var name="category_label" escape="html" default="(root)"$> </mt:if> </mt:if> </td> <td class="author"> <mt:if name="is_editable"> <select name="author_id_<$mt:var name="id"$>"> <mt:unless name="author_id"> <option value=""><__trans phrase="None"></option> </mt:unless> <mt:loop name="row_author_loop"> <option value="<$mt:var name="author_id"$>"<mt:if name="author_is_selected"> selected="selected"</mt:if>><$mt:var name="author_name"$></option> </mt:loop> </select> <mt:else> <$mt:var name="author_name"$> </mt:if> </td> <mt:unless name="blog_view"> <td class="weblog"><a href="<$mt:var name="script_url"$>?__mode=list_<mt:var name="object_type">&blog_id=<$mt:var name="weblog_id"$>"><$mt:var name="weblog_name" escape="html"$></a></td> </mt:unless> <td class="date"> <mt:if name="has_publish_access"> <input name="created_on_<$mt:var name="id"$>" value="<$mt:var name="created_on_time_formatted"$>" /> <mt:else> <span title="<$mt:var name="created_on_time_formatted"$>"> <mt:if name="created_on_relative"> <mt:if name="dates_relative"> <$mt:var name="created_on_relative"$> <mt:else> <$mt:var name="created_on_formatted"$> </mt:if> <mt:else> <$mt:var name="created_on_formatted"$> </mt:if> </span> </mt:if> </td> <mt:unless name="is_power_edit"> <td class="view si status-view"> <mt:if name="entry_permalink"> <a href="<$mt:var name="entry_permalink"$>" target="<__trans phrase="_external_link_target">" title="<mt:if name="object_type" eq="entry"><__trans phrase="View entry"><mt:else><__trans phrase="View page"></mt:if>"><img src="<$mt:var name="static_uri"$>images/spacer.gif" alt="<mt:if name="object_type" eq="entry"><__trans phrase="View entry"><mt:else><__trans phrase="View page"></mt:if>" width="13" height="9" /></a> <mt:else>   </mt:if> </td> </mt:unless> </tr> <mt:if __last__> </tbody> </mt:if> <mt:else> <mt:if name="object_type" eq="entry"> <mtapp:statusmsg id="zero-state" class="info zero-state"> <__trans phrase="No entries could be found. <a href="[_1]">Create an entry</a> now." params="<$mt:var name="mt_url"$>?__mode=view&_type=entry&blog_id=<$mt:var name="blog_id"$>"> </mtapp:statusmsg> <mt:else> <mtapp:statusmsg id="zero-state" class="info zero-state"> <__trans phrase="No page could be found. <a href="[_1]">Create a page</a> now." params="<$mt:var name="mt_url"$>?__mode=view&_type=page&blog_id=<$mt:var name="blog_id"$>"> </mtapp:statusmsg> </mt:if> </mtapp:listing>