From 93222bea1b92663c2de1d29052133cd147607851 Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Fri, 24 Feb 2006 22:34:14 +0000 Subject: [PATCH] New template for advanced mailbox tree, which uses the dTree package. To use this template, it must first be installed through config/conf.pl git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10828 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default_advanced/images/base.gif | Bin 0 -> 1040 bytes templates/default_advanced/images/cd.gif | Bin 0 -> 239 bytes templates/default_advanced/images/empty.gif | Bin 0 -> 62 bytes templates/default_advanced/images/folder.gif | Bin 0 -> 372 bytes .../default_advanced/images/folderopen.gif | Bin 0 -> 376 bytes templates/default_advanced/images/globe.gif | Bin 0 -> 1095 bytes .../default_advanced/images/imgfolder.gif | Bin 0 -> 622 bytes templates/default_advanced/images/join.gif | Bin 0 -> 69 bytes .../default_advanced/images/joinbottom.gif | Bin 0 -> 66 bytes templates/default_advanced/images/line.gif | Bin 0 -> 66 bytes templates/default_advanced/images/minus.gif | Bin 0 -> 86 bytes .../default_advanced/images/minusbottom.gif | Bin 0 -> 85 bytes .../default_advanced/images/musicfolder.gif | Bin 0 -> 633 bytes .../default_advanced/images/nolines_minus.gif | Bin 0 -> 861 bytes .../default_advanced/images/nolines_plus.gif | Bin 0 -> 870 bytes templates/default_advanced/images/page.gif | Bin 0 -> 582 bytes templates/default_advanced/images/plus.gif | Bin 0 -> 89 bytes .../default_advanced/images/plusbottom.gif | Bin 0 -> 88 bytes .../default_advanced/images/question.gif | Bin 0 -> 1044 bytes templates/default_advanced/images/trash.gif | Bin 0 -> 1051 bytes templates/default_advanced/js/dtree.js | 695 ++++++++++++++++++ templates/default_advanced/left_main.tpl | 314 ++++++++ templates/default_advanced/stylesheet.tpl | 436 +++++++++++ templates/default_advanced/template.php | 41 ++ 24 files changed, 1486 insertions(+) create mode 100644 templates/default_advanced/images/base.gif create mode 100644 templates/default_advanced/images/cd.gif create mode 100644 templates/default_advanced/images/empty.gif create mode 100644 templates/default_advanced/images/folder.gif create mode 100644 templates/default_advanced/images/folderopen.gif create mode 100644 templates/default_advanced/images/globe.gif create mode 100644 templates/default_advanced/images/imgfolder.gif create mode 100644 templates/default_advanced/images/join.gif create mode 100644 templates/default_advanced/images/joinbottom.gif create mode 100644 templates/default_advanced/images/line.gif create mode 100644 templates/default_advanced/images/minus.gif create mode 100644 templates/default_advanced/images/minusbottom.gif create mode 100644 templates/default_advanced/images/musicfolder.gif create mode 100644 templates/default_advanced/images/nolines_minus.gif create mode 100644 templates/default_advanced/images/nolines_plus.gif create mode 100644 templates/default_advanced/images/page.gif create mode 100644 templates/default_advanced/images/plus.gif create mode 100644 templates/default_advanced/images/plusbottom.gif create mode 100644 templates/default_advanced/images/question.gif create mode 100644 templates/default_advanced/images/trash.gif create mode 100644 templates/default_advanced/js/dtree.js create mode 100644 templates/default_advanced/left_main.tpl create mode 100644 templates/default_advanced/stylesheet.tpl create mode 100644 templates/default_advanced/template.php diff --git a/templates/default_advanced/images/base.gif b/templates/default_advanced/images/base.gif new file mode 100644 index 0000000000000000000000000000000000000000..9ac0b117b078b91521d56fce710e987ff5c5bdf5 GIT binary patch literal 1040 zcmeH`?^BBb9KfHpsoZf+xenJINgQ!5-bCk)!^n@*j^hX|?DTUt&d)e*iWIX(X^rZs zS;bjeo)(q0_Kdd7+U#kgX6sq2Hf7D0w8+S}j*B zU^e%)wwf7?GB&%avhwY^Mp)kjMnf;JAF@)orFUu$Jojj)0Y%%dS^#y!MFKJlKI*kZ zQHw1Qn411IZL`^N+*sj)55|5B>%no|#P>;SpY!_pVoqNB11FTLtXKV+ui5NYKEH(|9ra$Y*+!JF zyQN+*nM|Xjqshr-tb;iirhQs1e|YZ+izQJ_fd)5RQ%$fA-<8zcPIDxM`Pe}<@N&x~ z5+mk^`}}5)$J5(8$QO1yox`;{*Qv)tf>#FFlQxnZJFbNuV(0)4Rkg|-HqYzvWu;eG z`vyd!_7|N4DYdTBQZ1cc{YWS~byJfdhibz>p$(3d4D822rLx4!eyiKx69maeWp=Am z;Sbc;>-IJWPPdIK6ehjitj4WUsfx>OVkKWMsOtv+bS))rHHx;{? fny&E8D>{NTbE&~4u_ql#Er|S;e|Qd+f+YL_u9n3O literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/cd.gif b/templates/default_advanced/images/cd.gif new file mode 100644 index 0000000000000000000000000000000000000000..7503819404024526e6181901806c55f0d80c5933 GIT binary patch literal 239 zcmVrJ``g+7o}HwDfriP+%H`z#&d&S!*Z=kE z|K{fCzP{+0nauzH|NsC0A^8LW000jFEC2ui022Ta000D>@X2QgDb|R|oC=38x?@%aA z3XHC|001ZuX$Aq%mYc?Kr_IsGe7zvW*%XUnbb L&G+VrGgt!vQpOa` literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/folder.gif b/templates/default_advanced/images/folder.gif new file mode 100644 index 0000000000000000000000000000000000000000..eb129763dcea0dc1916b7e934fdce2fd8770c380 GIT binary patch literal 372 zcmZ?wbhEHb6k-r!xXQrr`}gnn@893v9&~1=$&)8f4jw$XxRCo$zt;Bc+vnx5?P^z= zlf`m!n&I9q)y<94Gt(JwZ!g^1B)cGw zMSgXq@QJAg2YNM*9XqzJMr>9F(~2^IHB}=2ujK##G5PiD*Z=>|`G33g|C9Rv?>o0` z+x8y>W-^ck6o0ZXGBD^d=zw&C{KUXE(P4UlhmKVLi6xgzC4402GB{W!L~2f9POOq~ zU`a4ovhaqB%+vz~Nx8dkFFrrvqSej!Kd!MF9@+A*p|PG#+gVIkwX>^RSE$vAT~}-J zl&QL${d#h`nsevP*X5qctE;hW`3hadnOwRm>o;uF<*#vKOczy ZVbwl)>NG2h3j?FtrOQ`>yuBP5tO0@?i&Ovr literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/folderopen.gif b/templates/default_advanced/images/folderopen.gif new file mode 100644 index 0000000000000000000000000000000000000000..c5c31102d525076f68a946b1c942687b3ce0da4c GIT binary patch literal 376 zcmZ?wbhEHb6k-r!xXQrr{{8!<#k{|N|2{L*q6oUN3z&7>3 ztO5@mss0m7f-EEygfto)EEhyd@^~j!tvR(XKI+JllL;CPicM^J(Q8*-F>q|Y`M%=j z62+dM{~PKQW!3d-jdOF2Weio>+e{5RD$0%I4VAejFig^&H-8?Vk|_5Crb$NHt5$3C zNei(}Fr8zpvu*n}0e-m}r{#G~uV;mw0cLrC^)_Z0DGV33b1Po(Sa(>zf!o}J1>$0ZL+5}+6JHr`< zs59<2ADD$k0dv7VSPBs!85|83W2YWrU{mu%Hi8cua%jT}X0VKs8iV_@s~cN|4IQK7 zlgwVZniU_ug+va|$vdW0wiwXo*|ykB@De?HwLlJxC0N(!S8i(2E~|v9(_+$dE1QD4 z(6NQB0}P|~wBw2sEI5NRJ4=uuOa5tsBHg+7q6Hu5dC6C#RV~P$5g9p@LhLx0zT1=#$;61Slp z{b$G3Cq5tj+aRnLm}j%g>meJip=3z4fBc6cC?X}jzdC>`>6~1Hyp7=2MId*?rsV_o z0IrGVmN!ePo4-uR0e|!Ywb#GtFWpGfTw^6849G2ChCzJ@XGmPPTIixuZ>)mYL-;TxSo$E#hk&Ui;z3lE682RvPTxRDt7BWAb0m{VSvJ=cgb~yz@9V5_O(cZFI)`$`ISCTU`DjBw zyS8egLnhurnWUI?_PR)I7%9~+D!e_EXKRJ1r3zig4{K%xOvx2|%18b>$me4+u^7Xq I@p#1QKgm$!SpWb4 literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/imgfolder.gif b/templates/default_advanced/images/imgfolder.gif new file mode 100644 index 0000000000000000000000000000000000000000..e6d880347f518bbd1239f2af3e3059ccb1e674e3 GIT binary patch literal 622 zcmZ?wbhEHb6k-r!c*el+{{8!<#k_3u{{L^wI(YEl_U+q$|Ni~|@MghDua+)ZG%JH? z-TL((7IrU~Kj+DlCo5O3lwA7%*s)`qHgDa!eb@j0OBdvEG*;)$$zqw8!`56^^k}p5 z_Ya-7_UFu)+TYb$+uz;v|9Z=kBA(5S(&rbc{eRsuGoA72{gy`u15VE{KDj_~ajDeg z37uzVnk*{dIyud7L!HE&S<`mx+V>;JX-$>L)2C0b?{GLaORBB0{O{F*<)!?K3%Nf$ zsam#d+5aDt|39h!f4lVm`_9*|U#E2~`~QE=wr$&f|N3)mmgIjBn8`2{fZ|UUMg|5? z1|5)NL2<&se!9W4skx=K)lgW7o1c@{KvtWf%~RNQ+VpAif|G?@nV2{@=DW(VPUdzM za9Zso;A-yDro->*#N*D+IV1gO z@j_>Lk*uD81ih2?D)vTMXLcNRa$tCI39M1!eiVTiL RukLUjIIv`XD-$DwH2~IF)06-J literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/join.gif b/templates/default_advanced/images/join.gif new file mode 100644 index 0000000000000000000000000000000000000000..34dd47610a5d7c3580dedc342683559bf77abce2 GIT binary patch literal 69 zcmZ?wbhEHb6k-r!XkcV$XlVHV|G(l-7DfgJMg|=QAOOiQFv;}DH=KUEdfpt3ORshA Wx&LIzk};W<vKC_i literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/joinbottom.gif b/templates/default_advanced/images/joinbottom.gif new file mode 100644 index 0000000000000000000000000000000000000000..48b81c80a9e25f6f29e2614aaa33bdf4a4d2881b GIT binary patch literal 66 zcmZ?wbhEHb6k-r!XkcV$XlVHV|G(l-7DfgJMg|=QAOOiQFiG~vH=KUEdfpt3ORshA Tx&LIzy5lkJS?4l0Mh0sDgH;v` literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/line.gif b/templates/default_advanced/images/line.gif new file mode 100644 index 0000000000000000000000000000000000000000..1a259eea00c330eee85fb18aa64e2e232d5410b1 GIT binary patch literal 66 zcmZ?wbhEHb6k-r!XkcV$XlVHV|G(l-7DfgJMg|=QAOOiQFiG~vH=KUEdfpt3ORshA Txqp6J8?ND(@^elGBZD;ng_;%{ literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/minus.gif b/templates/default_advanced/images/minus.gif new file mode 100644 index 0000000000000000000000000000000000000000..3d212a97ae0d8f83aa39836c5a85d442f8602553 GIT binary patch literal 86 zcmZ?wbhEHb6k-r!n8?h~)YR0_(7?dJ@c;jR#h)yU3=GT+IzTQ^R)~RtNqvreafzu-gC3m_gnAtsyGG)YXIxA8@>Pl literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/musicfolder.gif b/templates/default_advanced/images/musicfolder.gif new file mode 100644 index 0000000000000000000000000000000000000000..f620789feb3c4b1222909d255f51aeaa81faefb6 GIT binary patch literal 633 zcmZ?wbhEHb6k-r!c;?CQ|HtI_d&1|;T=V|@`}l;_ON)8`KdAow`}didCU@_DGciej z^5n_Eg9rbA>8q=`<>xo+u1K?DiJW3#)C#D)aIvB91 zfNOew_W$>t|Ni|e&CM||NI81&?f=`QuV26Z|9{T0S(4kfZTk-bGZ}^gQ2fcl$iU#q zpaXI&C{7sIuQhl!HMg)hmVUg|Ta9<%L zB*!hNW#eGnvfRbP!^OqjoL^Um#e}(8(%psk*bWzm73wnj%>wQWm-x821i3D`7>P8w z-n-|h>B!0H=xU{*=yrFzi#XF`MLGYlFIxARNO@hDtWaBUIiPTOMfV7_}lvsu=hh(Z;&NfL@qDJM29Jw4q( Jn2m+O8UP#&8=e3F literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/nolines_plus.gif b/templates/default_advanced/images/nolines_plus.gif new file mode 100644 index 0000000000000000000000000000000000000000..f258ce211a0a19c2ecbcb11170b9a8b35ae2436c GIT binary patch literal 870 zcmZ?wbhEHb6k-r!_|DAG)YR0_(7-SXMnhmkhJfNv7DfgJW(FOQ??HKjfy0@BokPZB z!-9j&9Ku>LGYlFIxARNO@hAj7*xx83m?l#Y_`t1M|Ba{La?4kwX3c6}c&WZ`PygnpJ?rkDyZry# zum9<}^Zxw(U)#BD%KlHsjvf2=@89j`-!lsq`N~Rn2+cXw3F)`cNXo|{M zwn^yh*lA;L&u+56RaJ{?r=8t#bK_Gj;^%BG95Yu?zS_*U>z2K_g$4ipCbgRvpFHC> zdg-Vu`PTd?H;48ok#7ReIGiR-xW0J7!Dc}Y2`z_&_QUOboFWD+3JrbT68dFMM=k~^ HFjxZso}Jb2 literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/plus.gif b/templates/default_advanced/images/plus.gif new file mode 100644 index 0000000000000000000000000000000000000000..b2c997233b3f7b0fd56c4637c2c20aaf0d47bae7 GIT binary patch literal 89 zcmZ?wbhEHb6k-r!n8?J?(9poZ!0`Y7e;}#&lZBCifr&u}$Og&^0ohtp^czmUT|IBk qf~en0XVhiRX3S&EJ6Nfhb5kY1Re>f2&SBJ{1ibDv2XRV|Dor_^WyXB*=Ku>91RN!zTl3yBbIVx z(geQ%ggTf9umTL|phE>VfGW0dOs3%S#nN%*vE*Enb)jBp9@2x>3JQh1R%p`NKy3y_ zU3YW4U}Q`#nViy?7fYC*mTrH-X7dccKo2mX(s=~L^<(g+r59TS6iqRkj2so5zx+t0 zo0(kzz6vnCo~H$RBRBH)J1GX_SNvfE*Z~wa*h)-iiw*S>Xcn2f6(IYmN~W^Xa^K5L zAex2;PwPjN7>)J4^$VxEb>L;|NOI2mP7BNcjAM&;D`d1LQE7F1uO6=7d%+o2q9~a& z^=HF5f%;G1kxWBiba`M*MXx~Y7eUYLsomU#>SdCrPUj>1OFJ?by71aqM(w;SNCnf+=v){(2QoAPYLn^Co4umpI zZBr+TQf2|-$OSB}T&RT}4J2kXT)9=qY~~&gO+?Wfm<{S%x+=cSPXj28urVYrD5gv> z1x&7r!xs%3p=C(_v_;&ng?=lfkaLrYG$*dMwTX12GNmWsd~wr2�PO#XTOK|5d)& z!4vms05e%S6&9cUdCfvAM{4}`Ll&Au0|4ZI{x#q|zXU~)a%9_I{Pz zF8K#`U8CUK$V+kftzmD{56XRA*JOAEn0*=T9qYDGam8&jKK%R;2frNVs?fakAt(1x zVoBrOZf<9tZI{^DPQFJAYw$bp-YzSMPP;$X(ujj4M^>&|RhjNU%J*O1o>2EXGlIU? f&E;Ccsie~d>oCoZ literal 0 HcmV?d00001 diff --git a/templates/default_advanced/images/trash.gif b/templates/default_advanced/images/trash.gif new file mode 100644 index 0000000000000000000000000000000000000000..cfa0f000e1ed3b61c8737fcfbef4b78035a6abe7 GIT binary patch literal 1051 zcmeH`!B0|g0LLGK3dPJgm@T#>b?KJNwY61t2y23!a_iPbmlJ1M5VKlN19e8^5=^!z zbD)u~Nn)UBz(^5iXd;hRCWauSKscU&!V@09@^9$c_wYG>4xjDIC@(v6wu%B#plCOQ zlj1%HL7xpg`;4hq!Iu!Ay`fHi8EnwqRZheRTo3t^+{2HkSV8B3ac*wiwj`U#enmI4T(`vn#vK;=k2di7RfPB!bd zJK#>yEZWxDDf!FE7-xpVy$l$}cV*&0M5)OxjQmJ|k6$*vDy}eU@5RE6J(P)Qp+ZeFi9t}!OUd7^O(;WX^ z+tZm1;6~zHF4t@}>pdVC3@Q`~e*%oJB(?5U`#K^Y8IgTkSWbYYT`>3^JQN6~{i|c1 zT@Hui@px7N7}o0@4u@hP=0$@VCwTuo#%8nWYPtge=>Pt?01YMJAgCKUv1i)*1VoHM zg(NCdC7W!ynX~=LT1$V~nzDI+!inF1=tx}_nc5}mr=DV)ug;EKpMRZBPRn{eeTULj zT$`c1GEET^B}LcnR&AAaiH{Ye*N`rB57O`u#Dp_b1s(h%A~RpaD3zSN{F_j2tj!_g zDpL!j?zKmG<;}MS$4?;^-Us|{&uLL9Bj?<{OfuP3Q`%K@Iu9puGT|qsM`h&mnJkio zah!lJc2>jfh55v~gO_sCXyqAH#KmqWJ;xJR)WRHv@kL7O1(~3lev(ei&BE0!@)+$U l*+Y54N|AtcU>`GZuw~%!;jig5uN)!pv)3}!7s*7Z'; + + } + + if (node.url) { + + str += ''; + + str += node.name; + + if (node.url || ((!this.config.folderLinks || !node.url) && node._hc)) str += ''; + + str += ''; + + if (node._hc) { + + str += '
'; + + str += this.addNode(node); + + str += '
'; + + } + + this.aIndent.pop(); + + return str; + +}; + + + +// Adds the empty and line icons + +dTree.prototype.indent = function(node, nodeId) { + + var str = ''; + + if (this.root.id != node.pid) { + + for (var n=0; n'; + + (node._ls) ? this.aIndent.push(0) : this.aIndent.push(1); + + if (node._hc) { + + str += ''; + + } else str += ''; + + } + + return str; + +}; + + + +// Checks if a node has any children and if it is the last sibling + +dTree.prototype.setCS = function(node) { + + var lastId; + + for (var n=0; n 0) { + $unseen_str = $unseen; + + // Add the total messages if desired + if ($settings['unreadNotificationDisplayTotal']) { + $unseen_str .= '/' . ($settings['unreadNotificationCummulative'] ? + $box['CummulativeMessageCount'] : + $box['MessageCount']); + } + + $unseen_str = '' . $unseen_str . + ''; + } + } + } + + /** + * Add folder icon. + */ + $img = ''; + $img_open = ''; + switch (true) { + case $box['IsInbox']: + $img = $image_path . 'base.gif'; + $img_open = $image_path . 'base.gif'; + break; + case $box['IsTrash']: + $img = $image_path . 'trash.gif'; + $img_open = $image_path . 'trash.gif'; + break; + case $box['IsNoSelect']: + case $box['IsNoInferiors']: + $img = $image_path . 'page.gif'; + $img_open = $image_path . 'page.gif'; + break; + default: + $img = $image_path . 'folder.gif'; + $img_open = $image_path . 'folderopen.gif'; + break; + } + + $display_folder = true; + if (!$settings['messageRecyclingEnabled'] && $box['IsTrash']) { + $display_folder = false; + } + + if($settings['messageRecyclingEnabled'] && $box['IsTrash']) { + // Boxes with unread messages should be emphasized + if ($box['UnreadCount'] > 0) { + $pre .= ''; + $end .= ''; + } + + // Print unread info + if ($box['UnreadCount'] > 0) { + if (!empty($unseen_str)) { + $end .= ' ('.$unseen_str.')'; + } + } + } else { + // Add a few other things for all other folders... + if (!$box['IsNoSelect']) { + // Boxes with unread messages should be emphasized + if ($box['UnreadCount'] > 0) { + $pre .= ''; + $end .= ''; + } + } + + // Display unread info... + if (!empty($unseen_str)) { + $end .= ' ('.$unseen_str.')'; + } + } + + $span = ''; + $spanend = ''; + if ($settings['useSpecialFolderColor'] && $box['IsSpecial']) { + $span = ''; + $spanend = ''; + } elseif ( $box['IsNoSelect'] ) { + $span = ''; + $spanend = ''; + } + + /** + * NOTE: Plugins would horribly break this advanced tree, so we are + * going to skip that part altogether. + */ + + $name = str_replace( + array(' ','<','>'), + array(' ','<','>'), + $box['MailboxName']); + $title = $name; + + if ($box['IsNoSelect']) { + $url = ''; + $target = ''; + } else { + $url = $box['ViewLink']['URL']; + $target = $box['ViewLink']['Target']; + $name = $span . $pre . $name . $end . $spanend; + } + + if ($display_folder) { + $out .= 'mailboxes.add('.$counter.', '.$parent_node.', ' . + '"'.addslashes($name).'", "'.$url.'", "'.$title.'", ' . + '"'.$target.'", ' . + '"'.$img.'", ' . + '"'.$img_open.'"' . + ');'."\n"; + } + } + + $parent_node = $counter; + for ($i = 0; $i + + +
+ +
+ + + + +
+ + + + +
+
+ + [] +
+
+

+Open All +  |   +Close All +'; + echo 'Purge Trash'; +} +?> +

+ +
+ +
\ No newline at end of file diff --git a/templates/default_advanced/stylesheet.tpl b/templates/default_advanced/stylesheet.tpl new file mode 100644 index 00000000..263fc316 --- /dev/null +++ b/templates/default_advanced/stylesheet.tpl @@ -0,0 +1,436 @@ + + *
  • SQM_BACKGROUND - background color + *
  • SQM_BACKGROUND_LEFT - background of folder tree + *
  • SQM_TEXT_STANDARD - text color + *
  • SQM_TEXT_STANDARD_LEFT - text color of folder tree + *
  • SQM_LINK - color of links + *
  • SQM_LINK_LEFT - color of links in folder tree + *
  • SQM_TEXT_SPECIAL - color of special folder links in folder tree + *
  • todo: other constants should be documented here + * + * + * Optional template variables + *
      + *
    • fontfamily - string with list of fonts used by selected style. + *
    • fontsize - integer with selected font size value. + *
    + * Variables are set to empty string, when value is not set. + * + * @copyright © 2005-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ + * @package squirrelmail + * @subpackage templates + */ + +/* retrieve the template vars */ +extract($t); + +?> +/* older css template */ +body, td, th, dd, dt, h1, h2, h3, h4, h5, h6, p, ol, ul, li { + +} +body, small { + +} +td, th { + +} +textarea, pre { +font-family: monospace; + +} + +/* page body formatting */ +body { + color: ; + background-color: ; +} +body.sqm_leftMain { + color: ; + background-color: ; + text-align: left; +} + +/* right links */ +a:link, a:visited, a:hover, a:active { + color: ; +} + +/* left links */ +.sqm_leftMain a:link, .sqm_leftMain a:visited, .sqm_leftMain a:hover, .sqm_leftMain a:active { + color: ; +} +.leftunseen, .leftspecial, .leftspecial a:link, .leftspecial a:visited, .leftspecial a:hover, .leftspecial a:active { + color: ; +} +.leftrecent { + font-weight:bold; +} +.leftnoselect a:link, .leftnoselect a:visited, .leftnoselect a:hover, .leftnoselect a:active { + color: ; +} + +/* highlighted texts */ +.highlight { + color: ; +} + +/* left_main.tpl definitions */ +.sqm_wrapperTable { + border:0; + padding:0; + margin-left:auto; + margin-right:auto; + border-spacing:0; + width:99% + text-align:center; +} +sqm_leftMain table { + border:0; + padding:0; + margin:0; + border-spacing:0; + margin-left:auto; + margin-right:auto; +} +.sqm_folderHeader { + font-size:18px; + font-weight:bold; + text-align:center; +} +.sqm_clock { +} +.sqm_lastRefreshTime { + white-space: nowrap; +} +.sqm_refreshButton { +} + +.dtree { + font-size:11px; + white-space:nowrap; +} +.dtree p { + margin-top:12px; + margin-bottom:2px; + padding-bottom:4px; + text-align:center; + overflow: hidden; +} +.dtree a:hover { + text-decoration: underline; +} +.dtree a { + text-decoration:none; +} +.dtree img { + border:0; + vertical-align: middle; +} +.dtree a.node, .dtree a.nodeSel { + white-space: nowrap; + padding: 1px 2px 1px 2px; +} +.dtree a.node:hover, .dtree a.nodeSel:hover { + color: ; +} +.dtree a.nodeSel { + color: ; +} +.dtree .clip { + overflow: hidden; +} + +/* formating of error template */ +.thead_caption { + font-weight: bold; + text-align: center; +} + +.error_list { +} +.error_table { + color: ; + border: 2px solid ; + background-color: ; + width: 100%; +} +.error_thead { + background-color: ; +} +.error_thead_caption { + background-color: ; +} +.error_row { + color: ; +} +.error_val { + color: ; + width: 80%; + border: 2px solid ; + +} +.error_key { + width: 20%; + border: 2px solid ; + color: ; + font-weight: bold; + font-style: italic; + background-color: ; +} + +/* form fields */ +input.sqmtextfield{ +} +input.sqmpwfield { +} +input.sqmcheckbox { +} +input.sqmradiobox { +} +input.sqmhiddenfield { +} +input.sqmsubmitfield { +} +input.sqmresetfield { +} +input.sqmtextarea { +} + +/* basic definitions */ +.table_empty { + width:100%; + border:0; + margin:0; + padding:0; + border-spacing:0; +} + +.table_standard { + width:100%; + border:1px solid ; + padding:0; + margin:0; + border-spacing:0; +} + +em { + font-weight:bold; + font-style:normal; +} + +small { + font-size:80%; +} +img { + border:0; +} + +/* login.tpl definitions */ +#sqm_login table { + border:0; + margin:0; + padding:0; + border-spacing:0; + margin-left:auto; + margin-right:auto; +} +#sqm_login td { + padding:2px; +} + +.sqm_loginImage { + margin-left:auto; + margin-right:auto; + padding:2px; +} +.sqm_loginTop { + text-align:center; + font-size:80%; +} +.sqm_loginOrgName { + font-weight:bold; + text-align:center; + background: ; + width:350px; + border:0; +} +.sqm_loginFieldName { + text-align:right; + width:30%; +} +.sqm_loginFieldInput { + text-align:left; +} +.sqm_loginSubmit { + text-align:center; +} + +/* page_header.tpl definitions */ +.sqm_currentFolder { + background: ; + padding:2px; + text-align: ; +} +.sqm_headerSignout { + background: ; + padding:2px; + text-align: ; + font-weight:bold; +} +.sqm_topNavigation { + padding:2px; + text-align: ; +} +.sqm_providerInfo { + padding:2px; + text-align: ; +} + +/* message_list.tpl definitions */ +.table_messageListWrapper { + width:100%; + padding:0; + border-spacing:0; + border:0; + text-align:center; + margin-left:auto; + margin-right:auto; + background: ; +} + +.table_messageList { + width:100%; + padding:0; + border-spacing:0; + border:0; + text-align:center; + margin-left:auto; + margin-right:auto; + background: ; +} + +.table_messageList a { + white-space:nowrap; +} + +.table_messageList tr.headerRow { + text-align: ; + white-space:nowrap; + font-weight:bold; +} +.table_messageList td.spacer { + height:1px; + background: ; +} + +.table_messageList tr { + vertical-align:top; +} +.table_messageList tr.even { + background: ; +} +.table_messageList tr.odd { + background: ; +} +.table_messageList tr.mouse_over { + background: ; +} +.table_messageList tr.clicked { + background: ; +} + +.table_messageList td { + white-space:nowrap; +} +.table_messageList td.col_check { + text-align: ; +} +.table_messageList td.col_subject { + text-align: ; +} +.table_messageList td.col_flags { + text-align: ; +} +.table_messageList td.col_date { + text-align:center; +} +.table_messageList td.col_text { + text-align: ; +} + +.unread { + font-weight:bold; +} +.deleted { + color: ; +} +.flagged { + color: ; +} +.high_priority { + color: ; +} +.low_priority { + color: ; +} + +.col_checked { +} + +.links_paginator { + text-align: ; +} + +.message_count { + text-align:right; + font-size:8pt; +} + +.message_list_controls { + background: ; +} + +.message_control_button { + padding:0px; + margin:0px; +} +.message_control_buttons { + text-align: ; + font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ +} +.message_control_delete { + text-align: ; + font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ +} +.message_control_move { + text-align: ; + font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ +} + +.spacer { + height:5px; + background: ; +} + + diff --git a/templates/default_advanced/template.php b/templates/default_advanced/template.php new file mode 100644 index 00000000..625dfdbd --- /dev/null +++ b/templates/default_advanced/template.php @@ -0,0 +1,41 @@ + \ No newline at end of file -- 2.25.1