@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb012 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
/
Path :
Upload File :
New :
File
Dir
//homepage/v-mt/tmpl/cms/list_author.tmpl
<$mt:setvar name="list_users" value="1"$> <mt:setvarblock name="page_title"><__trans phrase="Users: System-wide"></mt:setvarblock> <mt:setvarblock name="system_msg"> <mt:if name="external_user_management"> <p class="page-desc"><__trans phrase="_USAGE_AUTHORS_LDAP"></p> </mt:if> <mt:if name="saved_status_disabled"> <mtapp:statusmsg id="saved-status-disabled" class="success"> <__trans phrase="You have successfully disabled the selected user(s)."> </mtapp:statusmsg> </mt:if> <mt:if name="saved_status_enabled"> <mtapp:statusmsg id="saved-status-disabled" class="success"> <__trans phrase="You have successfully enabled the selected user(s)."> </mtapp:statusmsg> </mt:if> <mt:if name="saved_deleted"> <mtapp:statusmsg id="saved-deleted" class="success"> <__trans phrase="You have successfully deleted the user(s) from the Movable Type system."> <mt:if name="author_ldap_found"> <br /><__trans phrase="The deleted user(s) still exist in the external directory. As such, they will still be able to login to Movable Type Enterprise."> </mt:if> </mtapp:statusmsg> </mt:if> <mt:if name="synchronized"> <mtapp:statusmsg id="synchronized" class="success"> <__trans phrase="You have successfully synchronized users' information with the external directory."> </mtapp:statusmsg> </mt:if> <mt:if name="unchanged"> <mtapp:statusmsg id="unchanged" class="success"> <__trans phrase="Some ([_1]) of the selected user(s) could not be re-enabled because they were no longer found in the external directory." params="<mt:var name="unchanged">"> </mtapp:statusmsg> </mt:if> <mt:if name="error"> <mtapp:statusmsg id="error" class="error"> <__trans phrase="An error occured during synchronization. See the <a href='[_1]'>activity log</a> for detailed information." params="<mt:var name="script_url">?__mode=view_log"> </mtapp:statusmsg> </mt:if> </mt:setvarblock> <mt:setvarblock name="content_header"> <mt:unless name="external_user_management"> <mt:if name="can_create_user"> <ul class="action-link-list"> <li><a href="<mt:var name="script_url">?__mode=view&_type=author" class="icon-left icon-create"><__trans phrase="Create User"></a></li> </ul> </mt:if> </mt:unless> </mt:setvarblock> <mtsetvarblock name="content_nav"> <mt:include name="include/users_content_nav.tmpl"> </mtsetvarblock> <mt:setvarblock name="related_content"> <mtapp:widget id="quickfilters" label="<__trans phrase="Quickfilters">"> <$mtapp:listfilters$> </mtapp:widget> <$mtapp:pageactions from="list_authors"$> </mt:setvarblock> <mt:setvarblock name="html_body_footer"> <$mt:include name="include/display_options.tmpl"$> </mt:setvarblock> <mt:setvarblock name="action_buttons"> <mt:if name="is_administrator"> <a href="javascript:void(0)" onclick="setObjectStatus(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="user" escape="js">', '<__trans phrase="users" escape="js">', 1); return false;" accesskey="e" title="<__trans phrase="Enable selected users (e)">" ><__trans phrase="_USER_ENABLE" escape="js"></a> <a href="javascript:void(0)" onclick="var sysadmin = getByID('sysadmin'); if (sysadmin && sysadmin.checked) { alert('<__trans phrase="_NO_SUPERUSER_DISABLE" escape="js">'); sysadmin.click(); return false; } setObjectStatus(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="user" escape="js">', '<__trans phrase="users" escape="js">', 0); return false;" accesskey="d" title="<__trans phrase="Disable selected users (d)">" ><__trans phrase="_USER_DISABLE" escape="js"></a> </mt:if> </mt:setvarblock> <mt:setvarblock name="html_head" append="1"> <script type="text/javascript"> <!-- function enableFilterButton() { getByID("filter-button").style.display = "inline"; } function toggleFilter() { var filterActive = getByID("filter-active"); if (filterActive.style.display == "none") { filterActive.style.display = "block"; getByID("filter-select").style.display = "none"; } else { filterActive.style.display = "none"; getByID("filter-select").style.display = "block"; } } function setFilterCol(choice) { var sel = getByID('filter-select'); if (!sel) return; sel.className = "filter-" + choice; if (choice == 'none') getByID('filter-mode').selectedIndex = 0; else { getByID('filter-mode').selectedIndex = 1; var fld = getByID('filter-col'); if (choice == 'status') fld.selectedIndex = 0; else if (choice == 'commenter') fld.selectedIndex = 1; col_span = getByID("filter-text-col"); if (fld.selectedIndex > -1 && col_span) col_span.innerHTML = '<strong>' + fld.options[fld.selectedIndex].text + '</strong>'; } } var tableSelect; function init() { // setup tableSelect = new TC.TableSelect( "author-listing-table" ); tableSelect.rowSelect = true; setFilterCol(<mt:if name="filter">'<mt:var name="filter">'<mt:else>'none'</mt:if>);<mt:if name="filter"> setFilterVal('<mt:var name="filter_val">'); </mt:if> } TC.attachLoadEvent( init ); // --> </script> </mt:setvarblock> <mt:setvarblock name="list_filter_form"> <div class="listing-filter"> <div class="listing-filter-inner inner pkg"> <div class="filter"> <div id="filter-title"> <mt:if name="filter_label"> <__trans phrase="Showing only: [_1]" params="<$mt:var name="filter_label"$>"> <a href="<mt:var name="script_url">?__mode=list_authors<mt:if name="blog_id">&blog_id=<mt:var name="blog_id"></mt:if>">[ <__trans phrase="Remove filter"> ]</a> <mt:else> <__trans phrase="Showing All Users"> </mt:if> </div> </div> </div> </div> </mt:setvarblock> <mt:include name="include/header.tmpl"> <$mt:var name="list_filter_form"$> <$mt:include name="include/author_table.tmpl"$> <mt:include name="include/footer.tmpl">