diff options
| author | spiderr <spider@viovio.com> | 2013-04-07 21:12:07 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-07 21:12:07 -0400 |
| commit | d860e25358c23f048ced90bfa6ef1e432254f90f (patch) | |
| tree | 40a6e8f0754c290afe40e39a5bf67c8572d6398a /templates/my_bitweaver.tpl | |
| parent | 0d388c17f32040943c6abb1ff525f06878431485 (diff) | |
| download | users-d860e25358c23f048ced90bfa6ef1e432254f90f.tar.gz users-d860e25358c23f048ced90bfa6ef1e432254f90f.tar.bz2 users-d860e25358c23f048ced90bfa6ef1e432254f90f.zip | |
major clean up for Smarty 3.0 and another pass at cleaning the top menus
Diffstat (limited to 'templates/my_bitweaver.tpl')
| -rw-r--r-- | templates/my_bitweaver.tpl | 78 |
1 files changed, 16 insertions, 62 deletions
diff --git a/templates/my_bitweaver.tpl b/templates/my_bitweaver.tpl index c90655b..01b2902 100644 --- a/templates/my_bitweaver.tpl +++ b/templates/my_bitweaver.tpl @@ -1,10 +1,9 @@ -{* $Header$ *} {strip} <div class="floaticon">{bithelp}</div> <div class="display my"> <div class="header"> - <h1>{tr}My {$gBitSystem->getConfig('site_title')|default:'Site'}{/tr}</h1> + <h1>{$gBitSystem->getConfig('site_title')} {tr}Dashboard{/tr} </h1> </div> <div class="body"> @@ -16,67 +15,22 @@ listing of submitted / edited stuff - similar to the old tiki personal tiki stuff. *} - {jstabs} - {jstab title="My Navigation Pane"} - <table width="100%" class="menutable"> - <tr> - {assign var="i" value="1"} - {foreach key=key item=menu from=$gBitSystem->mAppMenu} - {if $menu.menu_title && $menu.index_url && $menu.menu_template && !$menu.is_disabled} - <td style="width:33%;vertical-align:top;"> - {box class="`$key`menu menu box" ipackage=$key iname="pkg_`$key`" iexplain="$key" iclass="menuicon" title=$menu.menu_title} - {include file=$menu.menu_template} - {/box} - </td> - {if not ($i++ mod 3)} - </tr><tr> - {/if} - {/if} - {/foreach} - </tr> - </table> - {/jstab} - - {jstab title="My Information"} - {legend legend="User Information"} - {include file="bitpackage:users/user_information_inc.tpl" userData=$gBitUser} - - {if $gBitUser->mInfo.avatar_url} - <div class="control-group"> - {formlabel label="Avatar"} - {forminput} - <img src="{$gBitUser->mInfo.avatar_url}" alt="{tr}avatar{/tr}" /> - {/forminput} - </div> - {/if} - - {if $gBitUser->mInfo.portrait_url} - <div class="control-group"> - {formlabel label="Portrait"} - {forminput} - <img src="{$gBitUser->mInfo.portrait_url}" alt="{tr}portrait{/tr}" /> - {/forminput} - </div> + <table class="width100p menutable"> + <tr> + {assign var="i" value="1"} + {foreach key=key item=menu from=$gBitSystem->mAppMenu} + {if $menu.menu_title && $menu.index_url && $menu.menu_template && !$menu.is_disabled} + <td style="width:33%;vertical-align:top;"> + <strong>{$menu.menu_title}</strong> + {include file=$menu.menu_template} + </td> + {if not ($i++ mod 3)} + </tr><tr> {/if} - - {if $gBitUser->mInfo.logo_url} - <div class="control-group"> - {formlabel label="Logo"} - {forminput} - <img src="{$gBitUser->mInfo.logo_url}" alt="{tr}logo{/tr}" /> - {/forminput} - </div> - {/if} - - {formhelp note="If you wish to change any of this information, please visit your personal preferences page" link="users/preferences.php/Personal Preferences"} - {/legend} - {/jstab} - {if $contentList} - {jstab title="My Content"} - {include file="bitpackage:liberty/list_content_inc.tpl"} - {/jstab} - {/if} - {/jstabs} + {/if} + {/foreach} + </tr> + </table> </div><!-- end .body --> </div><!-- end .my --> |
