From: <txm...@us...> - 2015-02-18 23:26:00
|
Revision: 13001 http://sourceforge.net/p/xoops/svn/13001 Author: txmodxoops Date: 2015-02-18 23:25:57 +0000 (Wed, 18 Feb 2015) Log Message: ----------- Updated to bootstrap profile and pm modules Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/header.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/icons.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/modules.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/page.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/scripts.html Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_pmlite.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_readpmsg.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_viewpmsg.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_avatar.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_breadcrumbs.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_changepass.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_editprofile.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_email.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_form.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_register.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_results.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_search.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userform.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userinfo.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/style.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/metisMenu.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/metisMenu.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/themes/ Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/index.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_pmlite.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_pmlite.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_pmlite.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,42 @@ +<{$pmform.javascript}> +<form name="<{$pmform.name}>" id="<{$pmform.name}>" action="<{$pmform.action}>" method="<{$pmform.method}>" <{$pmform.extra}> > + <table class='table table-bordered bnone width100'> + <tr> + <td class='head width30 text-right'><{$smarty.const._PM_TO}></td> + <td class='even txtleft'><{if $pmform.elements.to_userid.hidden != 1}><{$pmform.elements.to_userid.body}><{/if}><{$to_username}></td> + </tr> + <tr> + <td class='head width30 text-right'><{$smarty.const._PM_SUBJECTC}></td> + <td class='even txtleft'><{$pmform.elements.subject.body}></td> + </tr> + <tr> + <td class='head width30 text-right'><{$smarty.const._PM_SUBJECT_ICONS}></td> + <td class='even txtleft'> + + <{foreachq item=icon from=$radio_icons}> + <input type='radio' name='icon' id='<{$icon}>' value='<{$icon}>' /><label name='xolb_icon' for='<{$icon}>'><img src='<{xoAppUrl}>images/subject/<{$icon}>' alt="" /></label> + <{/foreach}> </td> + </tr> + <tr class='aligntop'> + <td class='head width30 text-right'><{$smarty.const._PM_MESSAGEC}></td> + <td class='even txtleft'><{$pmform.elements.message.body}></td> + </tr> + <tr class='aligntop'> + <td class='head width30'><{$smarty.const._PM_SAVEINOUTBOX}></td> + <td class='even'><{$pmform.elements.savecopy.body}></td> + </tr> + <tr> + <td class='head'> </td> + <td class='even'> + <{foreach item=element from=$pmform.elements}> + <{if $element.hidden == 1}> + <{$element.body}> + <{/if}> + <{/foreach}> + <{$pmform.elements.submit.body}> + <{$pmform.elements.reset.body}> + <{$pmform.elements.cancel.body}> + </td> + </tr> + </table> +</form> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_readpmsg.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_readpmsg.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_readpmsg.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,77 @@ +<div> + <h4><{$smarty.const._PM_PRIVATEMESSAGE}></h4> +</div><br /> +<{if $op==out}> + <a href='viewpmsg.php?op=out' title='<{$smarty.const._PM_OUTBOX}>'><{$smarty.const._PM_OUTBOX}></a> +<{elseif $op == "save"}> + <a href='viewpmsg.php?op=save' title='<{$smarty.const._PM_SAVEBOX}>'><{$smarty.const._PM_SAVEBOX}></a> +<{else}> + <a href='viewpmsg.php?op=in' title='<{$smarty.const._PM_INBOX}>'><{$smarty.const._PM_INBOX}></a> +<{/if}> + +<{if $message}> + <span class='bold'>»»</span> <{$message.subject}><br /> + <form name="<{$pmform.name}>" id="<{$pmform.name}>" action="<{$pmform.action}>" method="<{$pmform.method}>" <{$pmform.extra}> > + <table class='table table-bordered bnone width100'> + <tr> + <th colspan='2'><{if $op==out}><{$smarty.const._PM_TO}><{else}><{$smarty.const._PM_FROM}><{/if}></th> + </tr> + <tr class='even'> + <td class='aligntop'> + <{if ( $poster != false ) }> + <a href='<{$xoops_url}>/userinfo.php?uid=<{$poster->getVar("uid")}>'><{$poster->getVar("uname")}></a><br /> + <{if ( $poster->getVar("user_avatar") != "" ) }> + <img src='<{$xoops_url}>/uploads/<{$poster->getVar("user_avatar")}>' alt='' /><br /> + <{/if}> + <{if ( $poster->getVar("user_from") != "" ) }> + <{$smarty.const._PM_FROMC}><{$poster->getVar("user_from")}><br /><br /> + <{/if}> + <{if ( $poster->isOnline() ) }> + <span class='bold red'><{$smarty.const._PM_ONLINE}></span><br /><br /> + <{/if}> + <{else}> + <{$anonymous}> + <{/if}> + </td> + <td> + <{if $message.msg_image != ""}> + <img src='<{$xoops_url}>/images/subject/<{$message.msg_image}>' alt='' /> + <{/if}> + <{$smarty.const._PM_SENTC}><{$message.msg_time}><br /> + <hr /> + <strong><{$message.subject}></strong><br /> + <br /> + <{$message.msg_text}><br /> + <br /> + </td> + </tr> + <tr class='foot'> + <td class='width20 txtleft' colspan='2'> + <{foreach item=element from=$pmform.elements}> + <{$element.body}> + <{/foreach}> + </td> + </tr> + <tr> + <td class='text-right' colspan='2'> + <{if ( $previous >= 0 ) }> + <a href='readpmsg.php?start=<{$previous}>&total_messages=<{$total_messages}>&op=<{$op}>' title='<{$smarty.const._PM_PREVIOUS}>'> + <{$smarty.const._PM_PREVIOUS}> + </a> | + <{else}> + <{$smarty.const._PM_PREVIOUS}> | + <{/if}> + <{if ( $next < $total_messages ) }> + <a href='readpmsg.php?start=<{$next}>&total_messages=<{$total_messages}>&op=<{$op}>' title='<{$smarty.const._PM_NEXT}>'> + <{$smarty.const._PM_NEXT}> + </a> + <{else}> + <{$smarty.const._PM_NEXT}> + <{/if}> + </td> + </tr> + </table> + </form> +<{else}> + <br /><br /><{$smarty.const._PM_YOUDONTHAVE}> +<{/if}> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_viewpmsg.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_viewpmsg.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/pm/templates/pm_viewpmsg.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,108 @@ +<h4 class="text-center"><{$smarty.const._PM_PRIVATEMESSAGE}></h4> +<{if $op}> +<br /> +<div class="pull-right text-right" style="width: 18%;"> + <{if $op == "out"}> + <a href='viewpmsg.php?op=in' title='<{$smarty.const._PM_INBOX}>'><{$smarty.const._PM_INBOX}></a> | <a href='viewpmsg.php?op=save' title='<{$smarty.const._PM_SAVEBOX}>'><{$smarty.const._PM_SAVEBOX}></a> + <{elseif $op == "save"}> + <a href='viewpmsg.php?op=in' title='<{$smarty.const._PM_INBOX}>'><{$smarty.const._PM_INBOX}></a> | <a href='viewpmsg.php?op=out' title='<{$smarty.const._PM_OUTBOX}>'><{$smarty.const._PM_OUTBOX}></a> + <{elseif $op == "in"}> + <a href='viewpmsg.php?op=out' title='<{$smarty.const._PM_OUTBOX}>'><{$smarty.const._PM_OUTBOX}></a> | <a href='viewpmsg.php?op=save' title='<{$smarty.const._PM_SAVEBOX}>'><{$smarty.const._PM_SAVEBOX}></a> + <{/if}> +</div> +<div class="pull-left width80"> + <{if $op == "out"}><{$smarty.const._PM_OUTBOX}> + <{elseif $op == "save"}><{$smarty.const._PM_SAVEBOX}> + <{else}><{$smarty.const._PM_INBOX}><{/if}> +</div> +<br /> +<br /> +<{if $msg}> + <div class="confirmMsg"><{$msg}></div> +<{/if}> +<{if $errormsg}> + <div class="errorMsg"><{$errormsg}></div> +<{/if}> + +<{if $pagenav}> + <div class="pull-right text-right pad5"> + <{$pagenav}> + </div> + <br class="clear" /> +<{/if}> + +<form name="<{$pmform.name}>" id="<{$pmform.name}>" action="<{$pmform.action}>" method="<{$pmform.method}>" <{$pmform.extra}> > + <table class='table table-bordered bnone width100'> + <tr class='text-center alignmiddle'> + <th><input name='allbox' id='allbox' onclick='xoopsCheckAll("<{$pmform.name}>", "allbox");' type='checkbox' value='Check All' /></th> + <th><img class='bnone' src='<{xoAppUrl images/download.gif}>' alt=''/></th> + <th> </th> + <{if $op == "out"}> + <th><{$smarty.const._PM_TO}></th> + <{else}> + <th><{$smarty.const._PM_FROM}></th> + <{/if}> + <th><{$smarty.const._PM_SUBJECT}></th> + <th class='text-center'><{$smarty.const._PM_DATE}></th> + </tr> + + <{if $total_messages == 0}> + <tr> + <td class='even text-center' colspan='6'><{$smarty.const._PM_YOUDONTHAVE}></td> + </tr> + <{/if}> + <{foreach item=message from=$messages}> + <tr class='<{cycle values="odd, even"}> txtleft'> + <td class='aligntop text-center width2'> + <input type='checkbox' id='msg_id_<{$message.msg_id}>' name='msg_id[]' value='<{$message.msg_id}>' /> + </td> + <{if $message.read_msg == 1}> + <td class='aligntop width5 text-center'><img src='<{xoModuleIcons16 mail_read.png}>' alt='<{$smarty.const._PM_READ}>' title='<{$smarty.const._PM_READ}>'/></td> + <{else}> + <td class='aligntop width5 text-center'><img src='<{xoModuleIcons16 mail_notread.png}>' alt='<{$smarty.const._PM_NOTREAD}>' title='<{$smarty.const._PM_NOTREAD}>'/></td> + <{/if}> + <td class='aligntop width5 text-center'> + <{if $message.msg_image != ""}> + <img src='<{$xoops_url}>/images/subject/<{$message.msg_image}>' alt='' /> + <{/if}> + </td> + <td class='alignmiddle width10'> + <{if $message.postername != ""}> + <a href='<{$xoops_url}>/userinfo.php?uid=<{$message.posteruid}>' title=''><{$message.postername}></a> + <{else}> + <{$anonymous}> + <{/if}> + </td> + <td class='alignmiddle'> + <a href='readpmsg.php?msg_id=<{$message.msg_id}>&start=<{$message.msg_no}>&total_messages=<{$total_messages}>&op=<{$op}>' title=''> + <{$message.subject}> + </a> + </td> + <td class='alignmiddle text-center width20'> + <{$message.msg_time}> + </td> + </tr> + <{/foreach}> + <tr class='bg2 txtleft'> + <td class='txtleft' colspan='6'> + <{$pmform.elements.send.body}> + <{if $display}> + <{$pmform.elements.move_messages.body}> + <{$pmform.elements.delete_messages.body}> + <{$pmform.elements.empty_messages.body}> + <{/if}> + <{foreach item=element from=$pmform.elements}> + <{if $element.hidden == 1}> + <{$element.body}> + <{/if}> + <{/foreach}> + </td> + </tr> + </table> +</form> +<{if $pagenav}> +<div class="pull-right text-right pad5"> +<{$pagenav}> +</div> +<{/if}> +<{/if}> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/index.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_avatar.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_avatar.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_avatar.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,70 @@ +<{includeq file="db:profile_breadcrumbs.html"}> + +<{if $old_avatar}> + <div class="pad10 center"> + <h4 class="bold red"><{$smarty.const._US_OLDDELETED}></h4> + <img src="<{$old_avatar}>" alt="" /> + </div> +<{/if}> + +<{if $uploadavatar}> +<{$uploadavatar.javascript}> +<form name="<{$uploadavatar.name}>" action="<{$uploadavatar.action}>" method="<{$uploadavatar.method}>" <{$uploadavatar.extra}>> + <table class="table table-bordered"> + <thead> + <tr> + <th colspan="2"><{$uploadavatar.title}></th> + </tr> + </thead> + <tbody> + <!-- start of form elements loop --> + <{foreach item=element from=$uploadavatar.elements}> + <{if $element.hidden != true}> + <tr> + <td class="head"><{$element.caption}> + <{if $element.description}> + <div style="font-weight: normal"><{$element.description}></div> + <{/if}> + </td> + <td class="<{cycle values='even,odd'}>"><{$element.body}></td> + </tr> + <{else}> + <{$element.body}> + <{/if}> + <{/foreach}> + <!-- end of form elements loop --> + </tbody> + </table> +</form> +<br /> +<{/if}> + +<br /> +<{$chooseavatar.javascript}> +<form name="<{$chooseavatar.name}>" action="<{$chooseavatar.action}>" method="<{$chooseavatar.method}>" <{$chooseavatar.extra}>> + <table class="table table-bordered"> + <thead> + <tr> + <th colspan="2"><{$chooseavatar.title}></th> + </tr> + </thead> + <tbody> + <!-- start of form elements loop --> + <{foreach item=element from=$chooseavatar.elements}> + <{if $element.hidden != true}> + <tr> + <td class="head"><{$element.caption}> + <{if $element.description}> + <div style="font-weight: normal"><{$element.description}></div> + <{/if}> + </td> + <td class="<{cycle values='even,odd'}>"><{$element.body}></td> + </tr> + <{else}> + <{$element.body}> + <{/if}> + <{/foreach}> + <!-- end of form elements loop --> + </tbody> + </table> +</form> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_breadcrumbs.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_breadcrumbs.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_breadcrumbs.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,9 @@ +<ul class="breadcrumb"> + <{foreach item=itm from=$xoBreadcrumbs name=bcloop}> + <li><{if $itm.link}><a href="<{$itm.link}>" title="<{$itm.title}>"><{$itm.title}></a><{else}><{$itm.title}><{/if}></li> + <{if !$smarty.foreach.bcloop.last}> + <span class="divider">»</span> + <{/if}> + <{/foreach}> +</ul> +<br class="clear"/> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_changepass.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_changepass.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_changepass.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,3 @@ +<{includeq file="db:profile_breadcrumbs.html"}> + +<{includeq file="db:profile_form.html" xoForm=$form}> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_editprofile.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_editprofile.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_editprofile.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,6 @@ +<{includeq file="db:profile_breadcrumbs.html"}> +<{if $stop}> + <div class="alert alert-danger"><{$stop}></div> + <br class='clear'/> +<{/if}> +<{includeq file="db:profile_form.html" xoForm=$userinfo}> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_email.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_email.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_email.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,3 @@ +<{includeq file="db:profile_breadcrumbs.html"}> + +<{includeq file="db:profile_form.html" xoForm=$emailform}> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_form.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_form.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_form.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,31 @@ + + <{$xoForm.javascript}> + <form id="<{$xoForm.name}>" name="<{$xoForm.name}>" action="<{$xoForm.action}>" method="<{$xoForm.method}>" <{$xoForm.extra}> > + <table class="table table-bordered" id="profile-form-<{$xoForm.name}>"> + <tbody> + <{foreach item=element from=$xoForm.elements}> + <{if !$element.hidden}> + <tr> + <td class="head"> + <div class='xoops-form-element-caption<{if $element.required}>-required<{/if}>'> + <span class='caption-text'><{$element.caption}></span> + <span class='caption-marker'>*</span> + </div> + <{if $element.description != ""}> + <div class='xoops-form-element-help'><{$element.description}></div> + <{/if}> + </td> + <td class="<{cycle values='odd, even'}>"> + <{$element.body}> + </td> + </tr> + <{/if}> + <{/foreach}> + </tbody> + </table> + <{foreach item=element from=$xoForm.elements}> + <{if $element.hidden}> + <{$element.body}> + <{/if}> + <{/foreach}> + </form> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_register.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_register.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_register.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,45 @@ +<{includeq file="db:profile_breadcrumbs.html"}> + +<{if $steps|@count > 1 AND $current_step >= 0}> + <div class='register-steps'> + <span class='caption'><{$lang_register_steps}></span> + <{foreachq item=step from=$steps key=stepno name=steploop}> + <{if $stepno == $current_step}> + <span class='item current'><{$step.step_name}></span> + <{else}> + <span class='item'><{$step.step_name}></span> + <{/if}> + <{if !$smarty.foreach.steploop.last}> + <span class='delimiter'>»</span> + <{/if}> + <{/foreach}> + </div> +<{/if}> + +<{if $stop}> + <div class='errorMsg txtleft'><{$stop}></div> + <br class='clear'/> +<{/if}> + +<{if $confirm}> + <{foreach item=msg from=$confirm}> + <div class='confirmMsg txtleft'><{$msg}></div> + <br class='clear'/> + <{/foreach}> +<{/if}> + +<{if $regform}> + <h3><{$regform.title}></h3> + <{includeq file="db:profile_form.html" xoForm=$regform}> +<{elseif $finish}> + <h1><{$finish}></h1> + <{if $finish_message}><p><{$finish_message}></p><{/if}> + <{if $finish_login}> + <form id='register_login' name='register_login' action='user.php' method='post'> + <input type='submit' class="btn btn-default" value="<{$finish_login}>"> + <input type='hidden' name="op" id="op" value="login"> + <input type='hidden' name="uname" id="uname" value="<{$finish_uname}>"> + <input type='hidden' name="pass" id="pass" value="<{$finish_pass}>"> + </form> + <{/if}> +<{/if}> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_results.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_results.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_results.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,28 @@ +<{includeq file="db:profile_breadcrumbs.html"}> +<div>( <{$total_users}> )</div> +<{if $users}> + <table class="table table-bordered"> + <thead> + <tr> + <{foreach item=caption from=$captions}> + <th><{$caption}></th> + <{/foreach}> + </tr> + </thead> + <tbody> + <{foreach item=user from=$users}> + <tr class="<{cycle values='odd, even'}>"> + <{foreach item=fieldvalue from=$user.output}> + <td><{$fieldvalue}></td> + <{/foreach}> + </tr> + <{/foreach}> + </tbody> + </table> + + <{$nav}> +<{else}> + <div class="alert alert-danger"> + <{$smarty.const._PROFILE_MA_NOUSERSFOUND}> + </div> +<{/if}> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_search.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_search.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_search.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,3 @@ +<{includeq file="db:profile_breadcrumbs.html"}> +<div>( <{$total_users}> )</div> +<{includeq file="db:profile_form.html" xoForm=$searchform}> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userform.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userform.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userform.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,40 @@ +<fieldset class="pad10"> + <legend class="bold"><{$lang_login}></legend> + <form action="user.php" method="post"> + <div class="form-group"> + <label for="inputUsername"><{$lang_username}></label> + <input type="text" class="form-control" name="uname" id="inputUsername" placeholder="<{$lang_username}>..."> + </div> + <div class="form-group"> + <label for="inputPassword"><{$lang_password}></label> + <input type="password" class="form-control" name="pass" id="inputPassword" placeholder="<{$lang_password}>..."> + </div> + <{if isset($lang_rememberme)}> + <div class="checkbox"> + <label> + <input type="checkbox" name="rememberme" value="On" checked /> <{$lang_rememberme}> + </label> + </div> + <{/if}> + <input type="hidden" name="op" value="login" /> + <input type="hidden" name="xoops_redirect" value="<{$redirect_page}>" /> + <input type="submit" class="btn btn-default" value="<{$lang_login}>" /> + </form> + <br /> + <a name="lost"></a> + <div><{$lang_notregister}><br /></div> +</fieldset> +<br /> +<fieldset class="pad10"> + <legend class="bold"><{$lang_lostpassword}></legend> + <div><br /><{$lang_noproblem}></div> + <form action="lostpass.php" method="post"> + <div class="form-group"> + <label for="inputYourEmail"><{$lang_youremail}></label> + <input type="text" class="form-control" name="email" id="inputYourEmail" placeholder="<{$lang_youremail}>..."> + </div> + <input type="hidden" name="op" value="mailpasswd" /> + <input type="hidden" name="t" value="<{$mailpasswd_token}>" /> + <input type="submit" class="btn btn-default" value="<{$lang_sendpassword}>" /> + </form> +</fieldset> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userinfo.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userinfo.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userinfo.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,107 @@ +<{includeq file="db:profile_breadcrumbs.html"}> + +<div> + <{if $avatar}> + <div class="pull-left pad5"> + <img src="<{$avatar}>" alt="<{$uname}>" /> + </div> + <{/if}> + <div class="pull-left pad10 block"> + <strong><{$uname}></strong> + <{if $email}> + <{$email}> <br /> + <{/if}> + <{if !$user_ownpage && $xoops_isuser == true}> + <form name="usernav" action="user.php" method="post"> + <input type="button" class="btn btn-default" value="<{$smarty.const._PROFILE_MA_SENDPM}>" onclick="javascript:openWithSelfMain('<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$user_uid}>', 'pmlite', 450, 380);" /> + </form> + <{/if}> + </div> +</div> +<br class="clear"/> + +<{if $user_ownpage == true}> +<div class="pull-left pad5"> + <form name="usernav" action="user.php" method="post"> + <input type="button" class="btn btn-default" value="<{$lang_editprofile}>" onclick="location='<{$xoops_url}>/modules/<{$xoops_dirname}>/edituser.php'" /> + <input type="button" class="btn btn-default" value="<{$lang_changepassword}>" onclick="location='<{$xoops_url}>/modules/<{$xoops_dirname}>/changepass.php'" /> + <{if $user_changeemail}> + <input type="button" class="btn btn-default" value="<{$smarty.const._PROFILE_MA_CHANGEMAIL}>" onclick="location='<{$xoops_url}>/modules/<{$xoops_dirname}>/changemail.php'" /> + <{/if}> + + <{if $user_candelete == true}> + <form method="post" action="<{$xoops_url}>/modules/<{$xoops_dirname}>/user.php"> + <input type="hidden" name="op" value="delete"> + <input type="hidden" name="uid" value="<{$user_uid}>"> + <input type="button" class="btn btn-default" value="<{$lang_deleteaccount}>" onclick="submit();" /> + </form> + <{/if}> + + <input type="button" class="btn btn-default" value="<{$lang_avatar}>" onclick="location='edituser.php?op=avatarform'" /> + <input type="button" class="btn btn-default" value="<{$lang_inbox}>" onclick="location='<{$xoops_url}>/viewpmsg.php'" /> + <input type="button" class="btn btn-default" value="<{$lang_logout}>" onclick="location='<{$xoops_url}>/modules/<{$xoops_dirname}>/user.php?op=logout'" /> + </form> +</div> +<{elseif $xoops_isadmin != false}> +<div class="pull-left pad5"> + <form method="post" action="<{$xoops_url}>/modules/<{$xoops_dirname}>/admin/deactivate.php"> + <input type="button" value="<{$lang_editprofile}>" onclick="location='<{$xoops_url}>/modules/<{$xoops_dirname}>/admin/user.php?op=edit&id=<{$user_uid}>'" /> + <input type="hidden" name="uid" value="<{$user_uid}>" /> + <{if $userlevel == 1}> + <input type="hidden" name="level" value="0" /> + <input type="button" class="btn btn-default" value="<{$smarty.const._PROFILE_MA_DEACTIVATE}>" onclick="submit();" /> + <{else}> + <input type="hidden" name="level" value="1" /> + <input type="button" class="btn btn-default" value="<{$smarty.const._PROFILE_MA_ACTIVATE}>" onclick="submit();" /> + <{/if}> + </form> +</div> +<{/if}> + +<br class="clear"/> + +<{foreach item=category from=$categories}> + <{if isset($category.fields)}> + <div class="profile-list-category" id="profile-category-<{$category.cat_id}>"> + <table class="table table-bordered"> + <thead> + <tr> + <th class="txtcenter" colspan="2"><{$category.cat_title}></th> + </tr> + </thead> + <tbody> + <{foreach item=field from=$category.fields}> + <tr> + <td class="head"><{$field.title}></td> + <td class="even"><{$field.value}></td> + </tr> + <{/foreach}> + </tbody> + </table> + </div> + <{/if}> +<{/foreach}> + +<{if $modules}> +<br class="clear" /> +<div class="profile-list-activity"> + <h2><{$recent_activity}></h2> + <!-- start module search results loop --> + <{foreach item=module from=$modules}> + + <h4><{$module.name}></h4> + + <!-- start results item loop --> + <{foreach item=result from=$module.results}> + + <img src="<{$result.image}>" alt="<{$module.name}>" /> <strong><a href="<{$result.link}>"><{$result.title}></a></strong><br /><span class="x-small">(<{$result.time}>)</span><br /> + + <{/foreach}> + <!-- end results item loop --> + + <{$module.showall_link}> + + <{/foreach}> + <!-- end module search results loop --> +</div> +<{/if}> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/style.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/style.css 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,13 @@ +.breadcrumbs { font-size: 1.2em; padding: 10px 2px;} +.breadcrumbs span { border: 0; padding: 0 2px;} +.breadcrumbs .item {} +.breadcrumbs .delimiter { font-size: 1.2em;} +.register-steps { font-size: 1.2em; padding: 5px 2px;} +.register-steps span { border: 0; padding: 0 2px;} +.register-steps .current { font-weight: bold; text-decoration: underline;} +.register-steps .delimiter { font-size: 1.2em;} +table.profile-form { width: 90%;} +.profile-form td.head { width: 20%;} +.profile-list-category table { width: 80%; margin: 10px 5px;} +.profile-list-category td.head { width: 20%;} +.profile-list-activity { width: 90%; padding: 5px;} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/metisMenu.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/metisMenu.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/metisMenu.css 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,65 @@ +/* + * metismenu - v1.1.3 + * Easy menu jQuery plugin for Twitter Bootstrap 3 + * https://github.com/onokumus/metisMenu + * + * Made by Osman Nuri Okumus + * Under MIT License + */ + +.arrow { + float: right; + line-height: 1.42857; +} + +.glyphicon.arrow:before { + content: "\e079"; +} + +.active > a > .glyphicon.arrow:before { + content: "\e114"; +} + + +/* + * Require Font-Awesome + * http://fortawesome.github.io/Font-Awesome/ +*/ + + +.fa.arrow:before { + content: "\f104"; +} + +.active > a > .fa.arrow:before { + content: "\f107"; +} + +.plus-times { + float: right; +} + +.fa.plus-times:before { + content: "\f067"; +} + +.active > a > .fa.plus-times { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); +} + +.plus-minus { + float: right; +} + +.fa.plus-minus:before { + content: "\f067"; +} + +.active > a > .fa.plus-minus:before { + content: "\f068"; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/metisMenu.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/metisMenu.js (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/metisMenu.js 2015-02-18 23:25:57 UTC (rev 13001) @@ -0,0 +1,120 @@ +/* + * metismenu - v1.1.3 + * Easy menu jQuery plugin for Twitter Bootstrap 3 + * https://github.com/onokumus/metisMenu + * + * Made by Osman Nuri Okumus + * Under MIT License + */ +;(function($, window, document, undefined) { + + var pluginName = "metisMenu", + defaults = { + toggle: true, + doubleTapToGo: false + }; + + function Plugin(element, options) { + this.element = $(element); + this.settings = $.extend({}, defaults, options); + this._defaults = defaults; + this._name = pluginName; + this.init(); + } + + Plugin.prototype = { + init: function() { + + var $this = this.element, + $toggle = this.settings.toggle, + obj = this; + + if (this.isIE() <= 9) { + $this.find("li.active").has("ul").children("ul").collapse("show").attr("aria-expanded", "true"); + $this.find("li").not(".active").has("ul").children("ul").collapse("hide").attr("aria-expanded", "false"); + } else { + $this.find("li.active").has("ul").children("ul").addClass("collapse in").attr("aria-expanded", "true"); + $this.find("li").not(".active").has("ul").children("ul").addClass("collapse").attr("aria-expanded", "false"); + } + + //add the "doubleTapToGo" class to active items if needed + if (obj.settings.doubleTapToGo) { + $this.find("li.active").has("ul").children("a").addClass("doubleTapToGo"); + } + + $this.find("li").has("ul").children("a").on("click" + "." + pluginName, function(e) { + e.preventDefault(); + + //Do we need to enable the double tap + if (obj.settings.doubleTapToGo) { + + //if we hit a second time on the link and the href is valid, navigate to that url + if (obj.doubleTapToGo($(this)) && $(this).attr("href") !== "#" && $(this).attr("href") !== "") { + e.stopPropagation(); + document.location = $(this).attr("href"); + return; + } + } + + $(this).parent("li").toggleClass("active").children("ul").collapse("toggle"); + + if ($toggle) { + $(this).parent("li").siblings().removeClass("active").children("ul.in").collapse("hide"); + } + + }); + }, + + isIE: function() { //https://gist.github.com/padolsey/527683 + var undef, + v = 3, + div = document.createElement("div"), + all = div.getElementsByTagName("i"); + + while ( + div.innerHTML = "<!--[if gt IE " + (++v) + "]><i></i><![endif]-->", + all[0] + ) { + return v > 4 ? v : undef; + } + }, + + //Enable the link on the second click. + doubleTapToGo: function(elem) { + var $this = this.element; + + //if the class "doubleTapToGo" exists, remove it and return + if (elem.hasClass("doubleTapToGo")) { + elem.removeClass("doubleTapToGo"); + return true; + } + + //does not exists, add a new class and return false + if (elem.parent().children("ul").length) { + //first remove all other class + $this.find(".doubleTapToGo").removeClass("doubleTapToGo"); + //add the class on the current element + elem.addClass("doubleTapToGo"); + return false; + } + }, + + remove: function() { + this.element.off("." + pluginName); + this.element.removeData(pluginName); + } + + }; + + $.fn[pluginName] = function(options) { + this.each(function () { + var el = $(this); + if (el.data(pluginName)) { + el.data(pluginName).remove(); + } + el.data(pluginName, new Plugin(this, options)); + }); + return this; + }; + +})(jQuery, window, document); \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/header.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/header.html 2015-02-18 18:43:38 UTC (rev 13000) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/header.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -82,7 +82,7 @@ <i class="fa fa-caret-down pull-right"></i> <div class="user-mini pull-right"> <span class="welcome">Welcome,</span> - <span>Admin</span> + <span><{$xoops_uname}></span> </div> </a> <ul class="dropdown-menu dropdown-user"> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/icons.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/icons.html 2015-02-18 18:43:38 UTC (rev 13000) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/icons.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -1,19 +1,17 @@ <{* start system icons *}> -<div id="xo-system-icons"> - <div id="xo-icon"> - <{foreach item=op from=$mod_options}> - <a href="<{$op.link}>" title="<{$op.desc}>"> - <img class="img-rounded" src='<{$op.icon|default:"$theme_icons/icon_options.png"}>' alt="<{$op.desc}>" /> - <{* <span><{$op.title}></span> *}> - </a> - <{/foreach}> - <a href="<{xoAppUrl modules/system/admin.php}>" title="<{$smarty.const._AM_SYSTEM_CONFIG}>"> - <img src='<{"$theme_icons/configuration.png"}>' /> - <{* <span><{$smarty.const._AM_SYSTEM_CONFIG}></span> *}> - </a> - <a href="<{xoAppUrl modules/system/help.php}>" title="<{$smarty.const._AM_SYSTEM_HELP}>"> - <img src='<{"$theme_icons/help.png"}>' /> - <{* <span><{$smarty.const._AM_SYSTEM_HELP}></span> *}> - </a> - </div> -</div> \ No newline at end of file +<ul class="thumbnails"> + <{foreach item=op from=$mod_options}> + <li class="box-icon text-center"><a class="thumbnail" href="<{$op.link}>" title="<{$op.desc}>"> + <img class="img-rounded" src='<{$op.icon|default:"$theme_icons/icon_options.png"}>' alt="<{$op.desc}>" /> + <{* <span><{$op.title}></span> *}> + </a></li> + <{/foreach}> + <li class="box-icon text-center"><a class="thumbnail" href="<{xoAppUrl modules/system/admin.php}>" title="<{$smarty.const._AM_SYSTEM_CONFIG}>"> + <img src='<{"$theme_icons/configuration.png"}>' /> + <{* <span><{$smarty.const._AM_SYSTEM_CONFIG}></span> *}> + </a></li> + <li class="box-icon text-center"><a class="thumbnail" href="<{xoAppUrl modules/system/help.php}>" title="<{$smarty.const._AM_SYSTEM_HELP}>"> + <img src='<{"$theme_icons/help.png"}>' /> + <{* <span><{$smarty.const._AM_SYSTEM_HELP}></span> *}> + </a></li> +</ul> \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/modules.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/modules.html 2015-02-18 18:43:38 UTC (rev 13000) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/modules.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -1,7 +1,7 @@ <ul class="thumbnails"> <{foreach item=mod from=$modules}> <li class="box-icon text-center"><a class="thumbnail" href="<{$mod.link}>" title="<{$mod.title}> - <{$mod.description}>"> - <img src='<{$mod.icon|default:"$theme_img/modules.png"}>' alt="<{$mod.title}>" /> + <img class="img-rounded" src='<{$mod.icon|default:"$theme_img/modules.png"}>' alt="<{$mod.title}>" /> <{* <span><{$mod.title}></span> *}> </a></li> <{/foreach}> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/page.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/page.html 2015-02-18 18:43:38 UTC (rev 13000) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/page.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -3,7 +3,11 @@ <div class="row"> <div class="col-lg-12"> <h3 class="page-header"><{$modname}></h3> - <{if $xo_sys_breadcrumb}> + </div> + </div> + <{if $xo_sys_breadcrumb}> + <div class="row"> + <div class="col-lg-12"> <ol class="breadcrumb"> <{foreach item=breadcrumb from=$xo_sys_breadcrumb}> <{if $breadcrumb.home}> @@ -14,12 +18,12 @@ <li class="breadcrumb-title"><{$breadcrumb.title}></li> <{/if}> <{/foreach}> - </ol> - <{/if}> + </ol> + </div> </div> - </div> + <{/if}> <{* /.row *}> - <{if $xoops_contents}> + <{if $xoops_contents || $xo_system_menu}> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/scripts.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/scripts.html 2015-02-18 18:43:38 UTC (rev 13000) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/scripts.html 2015-02-18 23:25:57 UTC (rev 13001) @@ -1,5 +1,5 @@ <{* jQuery *}> - <script src="<{xoAppUrl browse.php?Frameworks/jquery/jquery.js}>"></script> + <script src="<{xoAppUrl browse.php?Frameworks/jquery/jquery.min.js}>"></script> <script src="<{xoAppUrl browse.php?Frameworks/jquery/plugins/jquery-ui.min.js}>"></script> <{* Bootstrap Core JavaScript *}> <script src="<{xoImgUrl assets/js/bootstrap.min.js}>"></script> |