From: <txm...@us...> - 2015-01-28 19:15:55
|
Revision: 12950 http://sourceforge.net/p/xoops/svn/12950 Author: txmodxoops Date: 2015-01-28 19:15:52 +0000 (Wed, 28 Jan 2015) Log Message: ----------- I think this should be included in the folder xoops_lib / Frameworks from xoops 2.5.8 to be lighter on the many issues that we have in the folder themes. I have them all with bootstrap Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-responsive.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/js/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/js/bootstrap.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/js/index.html Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-responsive.min.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-responsive.min.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-responsive.min.css 2015-01-28 19:15:52 UTC (rev 12950) @@ -0,0 +1,9 @@ +/*! + * Bootstrap Responsive v2.3.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:inherit!important}.hidden-print{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.span11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:auto}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="offset"]:first-child{margin-left:0}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.controls-row [class*="span"]+[class*="span"]{margin-left:0}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.modal.fade{top:-100px}.modal.fade.in{top:20px}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.media .pull-left,.media .pull-right{display:block;float:none;margin-bottom:10px}.media-object{margin-right:0;margin-left:0}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:auto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#777;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:none;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .open>.dropdown-menu{display:block}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}} Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css 2015-01-28 19:15:52 UTC (rev 12950) @@ -0,0 +1,5 @@ +/*! + * Bootstrap v3.3.1 (http://getbootstrap.com) + * Copyright 2011-2014 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) @@ Diff output truncated at 100000 characters. @@ |
From: <txm...@us...> - 2015-02-04 10:26:08
|
Revision: 12966 http://sourceforge.net/p/xoops/svn/12966 Author: txmodxoops Date: 2015-02-04 10:26:04 +0000 (Wed, 04 Feb 2015) Log Message: ----------- Addes assets folder path Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-02-04 10:26:04 UTC (rev 12966) @@ -0,0 +1,822 @@ +<?php +/** + * xos_opal_Theme component class file + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Skalpa Keo <sk...@xo...> + * @author Taiwen Jiang <ph...@us...> + * @since 2.3.0 + * @package kernel + * @subpackage xos_opal_Theme + * @version $Id: theme.php 12666 2014-06-30 10:02:07Z beckmi $ + */ + +defined('XOOPS_ROOT_PATH') || die('Restricted access'); + +/** + * xos_opal_ThemeFactory + * + * @author Skalpa Keo + * @package xos_opal + * @subpackage xos_opal_Theme + * @since 2.3.0 + */ +class xos_opal_ThemeFactory +{ + var $xoBundleIdentifier = 'xos_opal_ThemeFactory'; + /** + * Currently enabled themes (if empty, all the themes in themes/ are allowed) + * + * @var array + */ + var $allowedThemes = array(); + /** + * Default theme to instanciate if none specified + * + * @var string + */ + var $defaultTheme = 'default'; + /** + * If users are allowed to choose a custom theme + * + * @var bool + */ + var $allowUserSelection = true; + + /** + * Instanciate the specified theme + */ + function &createInstance($options = array(), $initArgs = array()) + { + // Grab the theme folder from request vars if present + if (empty($options['folderName'])) { + if (($req = @$_REQUEST['xoops_theme_select']) && $this->isThemeAllowed($req)) { + $options['folderName'] = $req; + if (isset($_SESSION) && $this->allowUserSelection) { + $_SESSION[$this->xoBundleIdentifier]['defaultTheme'] = $req; + } + } else if (isset($_SESSION[$this->xoBundleIdentifier]['defaultTheme'])) { + $options['folderName'] = $_SESSION[$this->xoBundleIdentifier]['defaultTheme']; + } else if (empty($options['folderName']) || ! $this->isThemeAllowed($options['folderName'])) { + $options['folderName'] = $this->defaultTheme; + } + $GLOBALS['xoopsConfig']['theme_set'] = $options['folderName']; + } + $options['path'] = XOOPS_THEME_PATH . '/' . $options['folderName']; + $inst = null; + $inst = new xos_opal_Theme(); + foreach ($options as $k => $v) { + $inst->$k = $v; + } + $inst->xoInit(); + + return $inst; + } + + /** + * Checks if the specified theme is enabled or not + * + * @param string $name + * @return bool + */ + function isThemeAllowed($name) + { + return (empty($this->allowedThemes) || in_array($name, $this->allowedThemes)); + } +} + +/** + * xos_opal_AdminThemeFactory + * + * @author Andricq Nicolas (AKA MusS) + * @author trabis + * @package xos_opal + * @subpackage xos_opal_Theme + * @since 2.4.0 + */ +class xos_opal_AdminThemeFactory extends xos_opal_ThemeFactory +{ + /** + * @param array $options + * @param array $initArgs + * + * @return null|xos_opal_Theme + */ + function &createInstance($options = array(), $initArgs = array()) + { + $options["plugins"] = array(); + $options['renderBanner'] = false; + $inst =& parent::createInstance($options, $initArgs); + $inst->path = XOOPS_ADMINTHEME_PATH . '/' . $inst->folderName; + $inst->url = XOOPS_ADMINTHEME_URL . '/' . $inst->folderName; + $inst->template->assign(array( + 'theme_path' => $inst->path, + 'theme_tpl' => $inst->path.'/xotpl', + 'theme_url' => $inst->url, + 'theme_img' => $inst->url.'/assets/img', + 'theme_icons' => $inst->url.'/assets/icons', + 'theme_css' => $inst->url.'/assets/css', + 'theme_js' => $inst->url.'/assets/js', + 'theme_lang' => $inst->url.'/language', + )); + + return $inst; + } +} + +/** + * Class xos_opal_Theme + */ +class xos_opal_Theme +{ + /** + * Should we render banner? Not for redirect pages or admin side + * + * @var bool + */ + var $renderBanner = true; + /** + * The name of this theme + * + * @var string + */ + var $folderName = ''; + /** + * Physical path of this theme folder + * + * @var string + */ + var $path = ''; + var $url = ''; + + /** + * Whether or not the theme engine should include the output generated by php + * + * @var string + */ + var $bufferOutput = true; + /** + * Canvas-level template to use + * + * @var string + */ + var $canvasTemplate = 'theme.html'; + + /** + * Theme folder path + * + * @var string + */ + var $themesPath = 'themes'; + + /** + * Content-level template to use + * + * @var string + */ + var $contentTemplate = ''; + + var $contentCacheLifetime = 0; + var $contentCacheId = null; + + /** + * Text content to display right after the contentTemplate output + * + * @var string + */ + var $content = ''; + /** + * Page construction plug-ins to use + * + * @var array + * @access public + */ + var $plugins = array( + 'xos_logos_PageBuilder'); + var $renderCount = 0; + /** + * Pointer to the theme template engine + * + * @var XoopsTpl + */ + var $template = false; + + /** + * Array containing the document meta-information + * + * @var array + */ + var $metas = array( + //'http' => array( + // 'Content-Script-Type' => 'text/javascript' , + // 'Content-Style-Type' => 'text/css') , + 'meta' => array() , + 'link' => array() , + 'script' => array()); + + /** + * Array of strings to be inserted in the head tag of HTML documents + * + * @var array + */ + var $htmlHeadStrings = array(); + /** + * Custom variables that will always be assigned to the template + * + * @var array + */ + var $templateVars = array(); + + /** + * User extra information for cache id, like language, user groups + * + * @var boolean + */ + var $use_extra_cache_id = true; + + /** + * *#@- + */ + + /** + * *#@+ + * + * @tasktype 10 Initialization + */ + /** + * Initializes this theme + * + * Upon initialization, the theme creates its template engine and instanciates the + * plug-ins from the specified {@link $plugins} list. If the theme is a 2.0 theme, that does not + * display redirection messages, the HTTP redirections system is disabled to ensure users will + * see the redirection screen. + * + * @param array $options + * @return bool + */ + function xoInit($options = array()) + { + $this->path = XOOPS_THEME_PATH . '/' . $this->folderName; + $this->url = XOOPS_THEME_URL . '/' . $this->folderName; + $this->template = null; + $this->template = new XoopsTpl(); + $this->template->currentTheme =& $this; + $this->template->assign_by_ref('xoTheme', $this); + $this->template->assign(array( + 'xoops_theme' => $GLOBALS['xoopsConfig']['theme_set'] , + 'xoops_imageurl' => XOOPS_THEME_URL . '/' . $GLOBALS['xoopsConfig']['theme_set'] . '/', + 'xoops_themecss' => xoops_getcss($GLOBALS['xoopsConfig']['theme_set']), + 'xoops_requesturi' => htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES), + 'xoops_sitename' => htmlspecialchars($GLOBALS['xoopsConfig']['sitename'], ENT_QUOTES), + 'xoops_slogan' => htmlspecialchars($GLOBALS['xoopsConfig']['slogan'], ENT_QUOTES), + 'xoops_dirname' => isset($GLOBALS['xoopsModule'])&& is_object($GLOBALS['xoopsModule']) ? $GLOBALS['xoopsModule']->getVar('dirname') : 'system', + 'xoops_banner' => ($GLOBALS['xoopsConfig']['banners'] && $this->renderBanner) ? xoops_getbanner() : ' ', + 'xoops_pagetitle' => isset($GLOBALS['xoopsModule']) && is_object($GLOBALS['xoopsModule']) ? $GLOBALS['xoopsModule']->getVar('name') : htmlspecialchars($GLOBALS['xoopsConfig']['slogan'], ENT_QUOTES))); + + if (isset($GLOBALS['xoopsUser']) && is_object($GLOBALS['xoopsUser'])) { + $this->template->assign(array( + 'xoops_isuser' => true, + 'xoops_avatar' => XOOPS_UPLOAD_URL . "/" . $GLOBALS['xoopsUser']->getVar('user_avatar'), + 'xoops_userid' => $GLOBALS['xoopsUser']->getVar('uid'), + 'xoops_uname' => $GLOBALS['xoopsUser']->getVar('uname'), + 'xoops_name' => $GLOBALS['xoopsUser']->getVar('name'), + 'xoops_isadmin' => $GLOBALS['xoopsUserIsAdmin'], + 'xoops_usergroups' => $GLOBALS['xoopsUser']->getGroups())); + } else { + $this->template->assign(array( + 'xoops_isuser' => false, + 'xoops_isadmin' => false, + 'xoops_usergroups' => array(XOOPS_GROUP_ANONYMOUS))); + } + + // Meta tags + $config_handler =& xoops_gethandler('config'); + $criteria = new CriteriaCompo(new Criteria('conf_modid', 0)); + $criteria->add(new Criteria('conf_catid', XOOPS_CONF_METAFOOTER)); + $config = $config_handler->getConfigs($criteria, true); + foreach (array_keys($config) as $i) { + $name = $config[$i]->getVar('conf_name', 'n'); + $value = $config[$i]->getVar('conf_value', 'n'); + if (substr($name, 0, 5) == 'meta_') { + $this->addMeta('meta', substr($name, 5), $value); + } else { + // prefix each tag with 'xoops_' + $this->template->assign("xoops_$name", $value); + } + } + // Load global javascript + $this->addScript('include/xoops.js'); + $this->loadLocalization(); + + if ($this->bufferOutput) { + ob_start(); + } + $GLOBALS['xoTheme'] =& $this; + $GLOBALS['xoopsTpl'] =& $this->template; + // Instanciate and initialize all the theme plugins + foreach ($this->plugins as $k => $bundleId) { + if (!is_object($bundleId)) { + $this->plugins[$bundleId] = null; + $this->plugins[$bundleId] = new $bundleId(); + $this->plugins[$bundleId]->theme =& $this; + $this->plugins[$bundleId]->xoInit(); + unset($this->plugins[$k]); + } + } + + return true; + } + + /** + * Generate cache id based on extra information of language and user groups + * + * User groups other than anonymous should be detected to avoid disclosing group sensitive contents + * + * @param string $cache_id raw cache id + * @param string $extraString extra string + * @return string complete cache id + */ + function generateCacheId($cache_id, $extraString = '') + { + static $extra_string; + if (!$this->use_extra_cache_id) { + return $cache_id; + } + + if (empty($extraString)) { + if (empty($extra_string)) { + // Generate language section + $extra_string = $GLOBALS['xoopsConfig']['language']; + // Generate group section + if (!isset($GLOBALS['xoopsUser']) || !is_object($GLOBALS['xoopsUser'])) { + $extra_string .= '-' . XOOPS_GROUP_ANONYMOUS; + } else { + $groups = $GLOBALS['xoopsUser']->getGroups(); + sort($groups); + // Generate group string for non-anonymous groups, + // XOOPS_DB_PASS and XOOPS_DB_NAME (before we find better variables) are used to protect group sensitive contents + $extra_string .= '-' . substr(md5(implode('-', $groups)), 0, 8) . '-' . substr(md5(XOOPS_DB_PASS . XOOPS_DB_NAME . XOOPS_DB_USER), 0, 8); + } + } + $extraString = $extra_string; + } + $cache_id .= '-' . $extraString; + + return $cache_id; + } + + /** + * xos_opal_Theme::checkCache() + * + * @return bool + */ + function checkCache() + { + if ($_SERVER['REQUEST_METHOD'] != 'POST' && $this->contentCacheLifetime) { + $template = $this->contentTemplate ? $this->contentTemplate : 'db:system_dummy.html'; + $this->template->caching = 2; + $this->template->cache_lifetime = $this->contentCacheLifetime; + $uri = str_replace(XOOPS_URL, '', $_SERVER['REQUEST_URI']); + // Clean uri by removing session id + if (defined('SID') && SID && strpos($uri, SID)) { + $uri = preg_replace("/([\?&])(" . SID . "$|" . SID . "&)/", "\\1", $uri); + } + $this->contentCacheId = $this->generateCacheId('page_' . substr(md5($uri), 0, 8)); + if ($this->template->is_cached($template, $this->contentCacheId)) { + $xoopsLogger =& XoopsLogger::getInstance(); + $xoopsLogger->addExtra($template, sprintf('Cached (regenerates every %d seconds)', $this->contentCacheLifetime)); + $this->render(null, null, $template); + + return true; + } + } + + return false; + } + + /** + * Render the page + * + * The theme engine builds pages from 2 templates: canvas and content. + * + * A module can call this method directly and specify what templates the theme engine must use. + * If render() hasn't been called before, the theme defaults will be used for the canvas and + * page template (and xoopsOption['template_main'] for the content). + * + * @param string $canvasTpl The canvas template, if different from the theme default + * @param string $pageTpl The page template, if different from the theme default (unsupported, 2.3+ only) + * @param string $contentTpl The content template + * @param array $vars Template variables to send to the template engine + * + * @return bool + */ + function render($canvasTpl = null, $pageTpl = null, $contentTpl = null, $vars = array()) + { + if ($this->renderCount) { + return false; + } + $xoopsLogger =& XoopsLogger::getInstance(); + $xoopsLogger->startTime('Page rendering'); + + xoops_load('xoopscache'); + $cache =& XoopsCache::getInstance(); + + //Get meta information for cached pages + if ($this->contentCacheLifetime && $this->contentCacheId && $content = $cache->read($this->contentCacheId)) { + //we need to merge metas set by blocks ) with the module cached meta + $this->htmlHeadStrings = array_merge($this->htmlHeadStrings, $content['htmlHeadStrings']); + foreach ($content['metas'] as $type => $value) { + $this->metas[$type] = array_merge($this->metas[$type], $content['metas'][$type]); + } + $GLOBALS['xoopsOption']['xoops_pagetitle'] = $content['xoops_pagetitle']; + $GLOBALS['xoopsOption']['xoops_module_header'] = $content['header']; + } + + if (!empty($GLOBALS['xoopsOption']['xoops_pagetitle'])) { + $this->template->assign('xoops_pagetitle', $GLOBALS['xoopsOption']['xoops_pagetitle']); + } + $header = empty($GLOBALS['xoopsOption']['xoops_module_header']) ? $this->template->get_template_vars('xoops_module_header') : $GLOBALS['xoopsOption']['xoops_module_header']; + + //save meta information of cached pages + if ($this->contentCacheLifetime && $this->contentCacheId && !$contentTpl) { + $content['htmlHeadStrings'] = $this->htmlHeadStrings; + $content['metas'] = $this->metas; + $content['xoops_pagetitle'] = $this->template->get_template_vars('xoops_pagetitle'); + $content['header'] = $header; + $cache->write($this->contentCacheId, $content); + } + + // @internal : Lame fix to ensure the metas specified in the xoops config page don't appear twice + $old = array( + 'robots', + 'keywords', + 'description', + 'rating', + 'author', + 'copyright'); + foreach ($this->metas['meta'] as $name => $value) { + if (in_array($name, $old)) { + $this->template->assign("xoops_meta_$name", htmlspecialchars($value, ENT_QUOTES)); + unset($this->metas['meta'][$name]); + } + } + + // We assume no overlap between $GLOBALS['xoopsOption']['xoops_module_header'] and $this->template->get_template_vars( 'xoops_module_header' ) ? + $this->template->assign('xoops_module_header', $this->renderMetas(null, true) . "\n" . $header); + + if ($canvasTpl) { + $this->canvasTemplate = $canvasTpl; + } + if ($contentTpl) { + $this->contentTemplate = $contentTpl; + } + if (!empty($vars)) { + $this->template->assign($vars); + } + if ($this->contentTemplate) { + $this->content = $this->template->fetch($this->contentTemplate, $this->contentCacheId); + } + if ($this->bufferOutput) { + $this->content .= ob_get_contents(); + ob_end_clean(); + } + + $this->template->assign_by_ref('xoops_contents', $this->content); + + // Do not cache the main (theme.html) template output + $this->template->caching = 0; + $this->template->display($this->path . '/' . $this->canvasTemplate); + $this->renderCount++; + $xoopsLogger->stopTime('Page rendering'); + + return true; + } + + /** + * Load localization information + * + * Folder structure for localization: + * <ul>themes/themefolder/english + * <li>main.php - language definitions</li> + * <li>style.css - localization stylesheet</li> + * <li>script.js - localization script</li> + * </ul> + */ + function loadLocalization($type = "main") + { + $language = $GLOBALS['xoopsConfig']['language']; + // Load global localization stylesheet if available + if (file_exists($GLOBALS['xoops']->path('language/' . $language . '/style.css'))) { + $this->addStylesheet($GLOBALS['xoops']->url('language/' . $language . '/style.css')); + } + $this->addLanguage($type, $language); + // Load theme localization stylesheet and scripts if available + if (file_exists($this->path . '/language/' . $language . '/script.js')) { + $this->addScript($this->url . '/language/' . $language . '/script.js'); + } + if (file_exists($this->path . '/language/' . $language . '/style.css')) { + $this->addStylesheet($this->url . '/language/' . $language . '/style.css'); + } + + return true; + } + + /** + * Load theme specific language constants + * + * @param string $type language type, like 'main', 'admin'; Needs to be declared in theme xo-info.php + * @param string $language specific language + * + * @return bool|mixed + */ + function addLanguage($type = "main", $language = null) + { + $language = is_null($language) ? $GLOBALS["xoopsConfig"]["language"] : $language; + if (!file_exists($fileinc = $this->path . "/language/{$language}/{$type}.php")) { + if (!file_exists($fileinc = $this->path . "/language/english/{$type}.php")) { + return false; + } + } + $ret = include_once $fileinc; + + return $ret; + } + + /** + * *#@+ + * + * @tasktype 20 Manipulating page meta-information + */ + /** + * Adds script code to the document head + * + * This methods allows the insertion of an external script file (if $src is provided), or + * of a script snippet. The file URI is parsed to take benefit of the theme resource + * overloading system. + * + * The $attributes parameter allows you to specify the attributes that will be added to the + * inserted <script> tag. If unspecified, the <var>type</var> attribute value will default to + * 'text/javascript'. + * + * <code> + * // Add an external script using a physical path + * $theme->addScript( 'www/script.js', null, '' ); + * $theme->addScript( 'modules/newbb/script.js', null, '' ); + * // Specify attributes for the <script> tag + * $theme->addScript( 'mod_xoops_SiteManager#common.js', array( 'type' => 'application/x-javascript' ), '', 'mod_xoops_Sitemanager' ); + * // Insert a code snippet + * $theme->addScript( null, array( 'type' => 'application/x-javascript' ), 'window.open("Hello world");', 'hello' ); + * </code> + * + * @param string $src path to an external script file + * @param array $attributes hash of attributes to add to the <script> tag + * @param string $content Code snippet to output within the <script> tag + * @param string $name Element Name in array scripts are stored in. + * @return void + */ + function addScript($src = '', $attributes = array(), $content = '', $name = '') + { + if (empty($attributes)) { + $attributes = array(); + } + if (!empty($src)) { + $src = $GLOBALS['xoops']->url($this->resourcePath($src)); + $attributes['src'] = $src; + } + if (!empty($content)) { + $attributes['_'] = $content; + } + if (!isset($attributes['type'])) { + $attributes['type'] = 'text/javascript'; + } + if (empty($name)) { + $name = md5(serialize($attributes)); + } + $this->addMeta('script', $name, $attributes); + } + + /** + * Add StyleSheet or CSS code to the document head + * + * @param string $src path to .css file + * @param array $attributes name => value paired array of attributes such as title + * @param string $content CSS code to output between the <style> tags (in case $src is empty) + * @param string $name Element Name in array stylesheets are stored in. + * @return void + */ + function addStylesheet($src = '', $attributes = array(), $content = '', $name = '') + { + if (empty($attributes)) { + $attributes = array(); + } + if (!empty($src)) { + $src = $GLOBALS['xoops']->url($this->resourcePath($src)); + $attributes['href'] = $src; + } + if (!isset($attributes['type'])) { + $attributes['type'] = 'text/css'; + } + if (!empty($content)) { + $attributes['_'] = $content; + } + if (empty($name)) { + $name = md5(serialize($attributes)); + } + $this->addMeta('stylesheet', $name, $attributes); + } + + /** + * Add a <link> to the header + * + * @param string $rel Relationship from the current doc to the anchored one + * @param string $href URI of the anchored document + * @param array $attributes Additional attributes to add to the <link> element + * @param string $name Element Name in array links are stored in. + */ + function addLink($rel, $href = '', $attributes = array(), $name = '') + { + if (empty($attributes)) { + $attributes = array(); + } + if (!empty($href)) { + $attributes['href'] = $href; + } + $attributes['rel'] = $rel; + if (empty($name)) { + $name = md5(serialize($attributes)); + } + $this->addMeta('link', $name, $attributes); + } + + /** + * Set a meta http-equiv value + */ + function addHttpMeta($name, $value = null) + { + if (isset($value)) { + return $this->addMeta('http', $name, $value); + } + unset($this->metas['http'][$name]); + } + + /** + * Change output page meta-information + */ + function addMeta($type = 'meta', $name = '', $value = '') + { + if (!isset($this->metas[$type])) { + $this->metas[$type] = array(); + } + if (!empty($name)) { + $this->metas[$type][$name] = $value; + } else { + $this->metas[$type][md5(serialize(array($value)))] = $value; + } + + return $value; + } + + /** + * xos_opal_Theme::headContent() + * + * @param mixed $params + * @param mixed $content + * @param mixed $smarty + * @param mixed $repeat + * + * @return void + */ + function headContent($params, $content, &$smarty, &$repeat) + { + if (!$repeat) { + $this->htmlHeadStrings[] = $content; + } + } + + /** + * xos_opal_Theme::renderMetas() + * + * @param mixed $type + * @param mixed $return + * @return bool|string + */ + function renderMetas($type = null, $return = false) + { + $str = ''; + if (!isset($type)) { + foreach (array_keys($this->metas) as $type) { + $str .= $this->renderMetas($type, true); + } + $str .= implode("\n", $this->htmlHeadStrings); + } else { + switch ($type) { + case 'script': + foreach ($this->metas[$type] as $attrs) { + $str .= "<script" . $this->renderAttributes($attrs) . ">"; + if (@$attrs['_']) { + $str .= "\n//<![CDATA[\n" . $attrs['_'] . "\n//]]>"; + } + $str .= "</script>\n"; + } + break; + case 'link': + foreach ($this->metas[$type] as $attrs) { + $rel = $attrs['rel']; + unset($attrs['rel']); + $str .= '<link rel="' . $rel . '"' . $this->renderAttributes($attrs) . " />\n"; + } + break; + case 'stylesheet': + foreach ($this->metas[$type] as $attrs) { + if (@$attrs['_']) { + $str .= '<style' . $this->renderAttributes($attrs) . ">\n/* <![CDATA[ */\n" . $attrs['_'] . "\n/* //]]> */\n</style>"; + } else { + $str .= '<link rel="stylesheet"' . $this->renderAttributes($attrs) . " />\n"; + } + } + break; + case 'http': + foreach ($this->metas[$type] as $name => $content) { + $str .= '<meta http-equiv="' . htmlspecialchars($name, ENT_QUOTES) . '" content="' . htmlspecialchars($content, ENT_QUOTES) . "\" />\n"; + } + break; + default: + foreach ($this->metas[$type] as $name => $content) { + $str .= '<meta name="' . htmlspecialchars($name, ENT_QUOTES) . '" content="' . htmlspecialchars($content, ENT_QUOTES) . "\" />\n"; + } + break; + } + } + if ($return) { + return $str; + } + echo $str; + + return true; + } + + /** + * Generates a unique element ID + * + * @param string $tagName + * @return string + */ + function genElementId($tagName = 'xos') + { + static $cache = array(); + if (!isset($cache[$tagName])) { + $cache[$tagName] = 1; + } + + return $tagName . '-' . $cache[$tagName] ++; + } + + /** + * Transform an attributes collection to an XML string + * + * @param array $coll + * @return string + */ + function renderAttributes($coll) + { + $str = ''; + foreach ($coll as $name => $val) { + if ($name != '_') { + $str .= ' ' . $name . '="' . htmlspecialchars($val, ENT_QUOTES) . '"'; + } + } + + return $str; + } + + /** + * Return a themable file resource path + * + * @param string $path + * @return string + */ + function resourcePath($path) + { + if (substr($path, 0, 1) == '/') { + $path = substr($path, 1); + } + + if (file_exists(XOOPS_ROOT_PATH . "/{$this->themesPath}/{$this->folderName}/{$path}")) { + return "{$this->themesPath}/{$this->folderName}/{$path}"; + } + + if (file_exists(XOOPS_ROOT_PATH . "/themes/{$this->folderName}/{$path}")) { + return "themes/{$this->folderName}/{$path}"; + } + + return $path; + } +} |
From: <txm...@us...> - 2015-02-14 15:51:55
|
Revision: 12978 http://sourceforge.net/p/xoops/svn/12978 Author: txmodxoops Date: 2015-02-14 15:51:50 +0000 (Sat, 14 Feb 2015) Log Message: ----------- New cpanel theme xnewage in beta tester Modified system module and core files Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/default.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap-theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/css/bootstrap.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/bootstrap/js/bootstrap.min.js Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formbutton.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formbuttontray.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formdhtmltextarea.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formselect.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/simpleform.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/tableform.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/themeform.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/functions.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/preferences/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/preferences/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/maintenance.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/menu.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/admin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/admin/blocksadmin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_avatars.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_banners.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_blocks.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_blocks_item.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_comments.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_groups.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_header.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_help.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_images.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_mailusers.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_maintenance.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_modules.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_modules_confirm.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_pagenav.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_preferences.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_smilies.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_templates.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_userrank.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_users.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/system_pagenav.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/bootstrap-theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/bootstrap.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/dark.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/dataTables.bootstrap.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/dataTables.responsive.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/font-awesome.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/metisMenu.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/morris.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/orange.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/silver.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/timeline.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/css/xnewage.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/FontAwesome.otf XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/fontawesome-webfont.eot XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/fontawesome-webfont.svg XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/fontawesome-webfont.ttf XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/fontawesome-webfont.woff XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/glyphicons-halflings-regular.eot XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/glyphicons-halflings-regular.svg XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/glyphicons-halflings-regular.ttf XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/glyphicons-halflings-regular.woff XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/glyphicons-halflings-regular.woff2 XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/fonts/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/avatar.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/avatar_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/banners.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/banners_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/blocks.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/blocks_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/check.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/comments.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/comments_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/configuration.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/configuration_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/edituser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/edituser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/filemanager.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/filemanager_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/finduser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/finduser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/groups.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/groups_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/help.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/help_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/icon_options.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/icon_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/images.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/images_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/item.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/mailuser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/mailuser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/maintenance.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/maintenance_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/modules.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/modules_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/newuser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/prefs.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/prefs_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/smilies.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/smilies_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/tpls.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/tpls_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/userrank.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/userrank_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/icons/waiting.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/logo.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/Sorting icons.psd XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/back_disabled.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/back_enabled.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/back_enabled_hover.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/favicon.ico XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/forward_disabled.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/forward_enabled.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/forward_enabled_hover.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/sort_asc.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/sort_asc_disabled.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/sort_both.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/sort_desc.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/img/tables/sort_desc_disabled.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/bootstrap.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/dataTables.bootstrap.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/dataTables.responsive.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/flot-data.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/formenu.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/jquery.dataTables.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/menu.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/metisMenu.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/morris-data.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/morris.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/raphael-min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/styleswitch.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/tabs.jquery.tools.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/tooltip.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/xnewage.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/xnewage.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/english/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/english/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/english/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/english/localsupport.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/italian/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/italian/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/italian/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/language/italian/localsupport.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/menu.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xnewage.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/accordion.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/footer.html 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/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/metas.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/navigation.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 XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/tabs.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/jquery/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/jquery/jquery.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/jquery/plugins/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/Frameworks/jquery/plugins/jquery-ui.min.js Removed Paths: ------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/jquery/ Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2015-02-14 15:51:50 UTC (rev 12978) @@ -0,0 +1,583 @@ +<?php +/** + * Frameworks Module Admin + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Grégory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Grégory Mage (Aka Mage) + */ + +class ModuleAdmin +{ + + var $_itemButton = array(); + var $_itemInfoBox = array(); + var $_itemInfoBoxLine = array(); + var $_itemConfigBoxLine = array(); + var $_obj = array(); + + /** + * Constructor + */ + function __construct() + { + //global $xoopsModule, $xoTheme; + global $xoopsModule; + $this->_obj =& $xoopsModule; + echo "<style type=\"text/css\" media=\"screen\">@import \"" . XOOPS_URL . "/Frameworks/moduleclasses/moduleadmin/css/admin.css\";</style>"; + //$xoTheme->addStylesheet("Frameworks/moduleclasses/moduleadmin/css/admin.css"); + $this -> loadLanguage(); + } + + /** + * @return array + */ + function getInfo() + { + $infoArray = array(); + if (!isset($infoArray) or empty($infoArray)) { + $infoArray = array(); + $infoArray['version'] = $this->getVersion(); + $infoArray['releasedate'] = $this->getReleaseDate(); + $infoArray['methods'] = $this->getClassMethods(); + } + + return $infoArray; + } + + /** + * Return the Module Admin class version number + * return string version + **/ + function getVersion() + { + /** + * version is rev of this class + */ + Include_once 'xoops_version.php'; + $version = XOOPS_FRAMEWORKS_MODULEADMIN_VERSION; + + return $version; + } + + /** + * Return the Module Admin class release date + * return string version + **/ + function getReleaseDate() + { + /** + * version is rev of this class + */ + Include_once 'xoops_version.php'; + $releasedate = XOOPS_FRAMEWORKS_MODULEADMIN_RELEASEDATE; + + return $releasedate; + } + + /** + * Return the available methods for the class + * + * @return array methods supported by this class + */ + function getClassMethods() + { + $myMethods = get_class_methods(__CLASS__); + + return $myMethods; + } + + //****************************************************************************************************************** + // loadLanguage + //****************************************************************************************************************** + // Loaf the language file. + //****************************************************************************************************************** + /** + * @return bool|mixed + */ + function loadLanguage() + { + $language = $GLOBALS['xoopsConfig']['language']; + if ( !file_exists($fileinc = XOOPS_ROOT_PATH . "/Frameworks/moduleclasses/moduleadmin/language/{$language}/main.php" )) { + if ( !file_exists($fileinc = XOOPS_ROOT_PATH . "/Frameworks/moduleclasses/moduleadmin/language/english/main.php" )) { + return false; + } + } + $ret = include_once $fileinc; + + return $ret; + } + //****************************************************************************************************************** + // renderMenuIndex + //****************************************************************************************************************** + // Creating a menu icon in the index + //****************************************************************************************************************** + /** + * @return string + */ + function renderMenuIndex() + { + $path = XOOPS_URL . "/modules/" . $this->_obj->getVar('dirname') . "/"; + $pathsystem = XOOPS_URL . "/modules/system/"; + $this->_obj->loadAdminMenu(); + $ret = "<div class=\"rmmenuicon\">\n"; + foreach (array_keys( $this->_obj->adminmenu) as $i) { + if ($this->_obj->adminmenu[$i]['link'] != 'admin/index.php') { + $ret .= "<a href=\"../" . $this->_obj->adminmenu[$i]['link'] . "\" title=\"" . (isset($this->_obj->adminmenu[$i]['desc']) ? $this->_obj->adminmenu[$i]['desc'] : '') . "\">"; + $ret .= "<img src=\"" . $path . $this->_obj->adminmenu[$i]['icon']. "\" alt=\"" . $this->_obj->adminmenu[$i]['title'] . "\" />"; + $ret .= "<span>" . $this->_obj->adminmenu[$i]['title'] . "</span>"; + $ret .= "</a>"; + } + } + if ($this->_obj->getInfo('help')) { + if (substr(XOOPS_VERSION, 0, 9) >= 'XOOPS 2.5') { + $ret .= "<a href=\"" . $pathsystem . "help.php?mid=" . $this->_obj->getVar('mid', 's') . "&" . $this->_obj->getInfo('help') . "\" title=\"" . _AM_SYSTEM_HELP . "\">"; + $ret .= "<img width=\"32px\" src=\"" . XOOPS_URL . "/Frameworks/moduleclasses/icons/32/help.png\" alt=\"" . _AM_SYSTEM_HELP . "\" /> "; + $ret .= "<span>" . _AM_SYSTEM_HELP . "</span>"; + $ret .= "</a>"; + } + } + $ret .= "</div>\n<div style=\"clear: both;\"></div>\n"; + + return $ret; + } + //****************************************************************************************************************** + // renderButton + //****************************************************************************************************************** + // Creating button + //****************************************************************************************************************** + /** + * @param string $position + * @param string $delimeter + * + * @return string + */ + function renderButton($position = "right", $delimeter = " ") + { + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/32/"; + switch ($position) { + default: + case "right": + $ret = "<div class=\"pull-right\">\n"; + break; + + case "left": + $ret = "<div class=\"pull-left\">\n"; + break; + + case "center": + $ret = "<div class=\"text-center\">\n"; + } + $ret .= "<div class=\"xo-buttons\">\n"; + foreach (array_keys( $this -> _itemButton) as $i) { + $ret .= "<a class='ui-corner-all' href='" . $this -> _itemButton[$i]['link'] . "' title='" . $this -> _itemButton[$i]['title'] . "'>"; + $ret .= "<img src='" . $path . $this -> _itemButton[$i]['icon'] . "' title='" . $this -> _itemButton[$i]['title'] . "' />" . $this -> _itemButton[$i]['title'] . ' ' . $this -> _itemButton[$i]['extra']; + $ret .= "</a>\n"; + $ret .= $delimeter; + } + $ret .= "</div>\n</div>\n"; + $ret .= "<br /> <br /><br />"; + + return $ret; + } + + /** + * @param $title + * @param $link + * @param string $icon + * @param string $extra + * + * @return bool + */ + function addItemButton($title, $link, $icon = 'add', $extra = '') + { + $ret['title'] = $title; + $ret['link'] = $link; + $ret['icon'] = $icon . '.png'; + $ret['extra'] = $extra; + $this -> _itemButton[] = $ret; + + return true; + + } + //****************************************************************************************************************** + // addConfigBoxLine + //****************************************************************************************************************** + // $value: value + // $type: type of config: 1- "default": Just a line with value. + // 2- "folder": check if this is an folder. + // 3- "chmod": check if this is the good chmod. + // For this type ("chmod"), the value is an array: array(path, chmod) + //****************************************************************************************************************** + /** + * @param string $value + * @param string $type + * + * @return bool + */ + function addConfigBoxLine($value = '', $type = 'default') + { + $line = ""; + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/"; + switch ($type) { + default: + case "default": + $line .= "<span>" . $value . "</span>"; + break; + + case "folder": + if (!is_dir($value)) { + $line .= "<span style='color : red; font-weight : bold;'>"; + $line .= "<img src='" . $path . "0.png' >"; + $line .= sprintf(_AM_MODULEADMIN_CONFIG_FOLDERKO, $value); + $line .= "</span>\n"; + } else { + $line .= "<span style='color : green;'>"; + $line .= "<img src='" . $path . "1.png' >"; + $line .= sprintf(_AM_MODULEADMIN_CONFIG_FOLDEROK, $value); + $line .= "</span>\n"; + } + break; + + case "chmod": + if (is_dir($value[0])) { + if (substr(decoct(fileperms($value[0])),2) != $value[1]) { + $line .= "<span style='color : red; font-weight : bold;'>"; + $line .= "<img src='" . $path . "0.png' >"; + $line .= sprintf(_AM_MODULEADMIN_CONFIG_CHMOD, $value[0], $value[1], substr(decoct(fileperms($value[0])),2)); + $line .= "</span>\n"; + } else { + $line .= "<span style='color : green;'>"; + $line .= "<img src='" . $path . "1.png' >"; + $line .= sprintf(_AM_MODULEADMIN_CONFIG_CHMOD, $value[0], $value[1], substr(decoct(fileperms($value[0])),2)); + $line .= "</span>\n"; + } + } + break; + } + $this -> _itemConfigBoxLine[] = $line; + + return true; + } + //****************************************************************************************************************** + // renderIndex + //****************************************************************************************************************** + // Creating an index + //****************************************************************************************************************** + /** + * @return string + */ + function renderIndex() + { + $ret = "<table class=\"table table-stripped\">\n<tr>\n"; + $ret .= "<td width=\"auto\">\n"; + $ret .= $this -> renderMenuIndex(); + $ret .= "</td>\n"; + $ret .= "<td width=\"auto\">\n"; + $ret .= $this -> renderInfoBox(); + $ret .= "</td>\n"; + $ret .= "</tr>\n"; + // If you use a config label + if ($this->_obj->getInfo('min_php') || $this->_obj->getInfo('min_xoops') || !empty($this -> _itemConfigBoxLine)) { + $ret .= "<tr>\n"; + $ret .= "<td colspan=\"2\">\n"; + $ret .= "<fieldset><legend class=\"label\">"; + $ret .= _AM_MODULEADMIN_CONFIG; + $ret .= "</legend>\n"; + + // php version + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/"; + if ($this->_obj->getInfo('min_php')) { + if (version_compare(phpversion(), $this->_obj->getInfo('min_php'), '<')) { + $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_PHP, $this->_obj->getInfo('min_php'), phpversion()) . "</span>\n"; + } else { + $ret .= "<span style='color : green;'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_PHP, $this->_obj->getInfo('min_php'), phpversion()) . "</span>\n"; + } + $ret .= "<br />"; + } + + // Database version + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/"; + $dbarray=$this->_obj->getInfo('min_db'); + + if ($dbarray[XOOPS_DB_TYPE]) { + // changes from redheadedrod to use connector specific version info + switch (XOOPS_DB_TYPE) { + // server should be the same in both cases + case "mysql": + case "mysqli": + global $xoopsDB; + $dbCurrentVersion= $xoopsDB->getServerVersion(); + break; + //case "pdo": + // global $xoopsDB; + // $dbCurrentVersion = $xoopsDB->getAttribute(PDO::ATTR_SERVER_VERSION); + // break; + default: // don't really support anything other than mysql + $dbCurrentVersion = '0'; + break; + } + $currentVerParts = explode('.', (string) $dbCurrentVersion); + $iCurrentVerParts = array_map('intval', $currentVerParts); + $dbRequiredVersion = $dbarray[XOOPS_DB_TYPE]; + $reqVerParts = explode('.', (string) $dbRequiredVersion); + $iReqVerParts = array_map('intval', $reqVerParts); + $icount = $j = count($iReqVerParts); + $reqVer = $curVer = 0; + for ($i=0; $i<$icount; $i++) { + $j--; + $reqVer += $iReqVerParts[$i] * pow(10, $j); + if (isset($iCurrentVerParts[$i])) { + $curVer += $iCurrentVerParts[$i] * pow(10, $j); + } else { + $curVer = $curVer * pow(10, $j); + } + } + if ($reqVer > $curVer) { + $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(XOOPS_DB_TYPE.' '._AM_MODULEADMIN_CONFIG_DB, $dbRequiredVersion, $dbCurrentVersion) . "</span><br />\n"; + } else { + $ret .= "<span style='color : green;'><img src='" . $path . "1.png' >" . sprintf(strtoupper(XOOPS_DB_TYPE).' '._AM_MODULEADMIN_CONFIG_DB, $dbRequiredVersion, $dbCurrentVersion) . "</span><br />\n"; + } + } + + // xoops version + if ($this->_obj->getInfo('min_xoops')) { + if (substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6) < $this->_obj->getInfo('min_xoops')) { + $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_XOOPS, $this->_obj->getInfo('min_xoops'), substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6)) . "</span>\n"; + } else { + $ret .= "<span style='color : green;'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_XOOPS, $this->_obj->getInfo('min_xoops'), substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6)) . "</span>\n"; + } + $ret .= "<br />"; + } + + // ModuleAdmin version + if ($this->_obj->getInfo('min_admin')) { + if ($this->getVersion() < $this->_obj->getInfo('min_admin')) { + $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_ADMIN, $this->_obj->getInfo('min_admin'), $this->getVersion()) . "</span>\n"; + } else { + $ret .= "<span style='color : green;'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_ADMIN, $this->_obj->getInfo('min_admin'), $this->getVersion()) . "</span>\n"; + } + $ret .= "<br />"; + } + if (!empty($this -> _itemConfigBoxLine)) { + foreach (array_keys( $this -> _itemConfigBoxLine) as $i) { + $ret .= $this -> _itemConfigBoxLine[$i]; + $ret .= "<br />"; + } + } + $ret .= "</fieldset>\n"; + $ret .= "</td>\n"; + $ret .= "</tr>\n"; + } + $ret .= "</table>\n"; + + return $ret; + } + //****************************************************************************************************************** + // addInfoBox + //****************************************************************************************************************** + // $title: title of an InfoBox + //****************************************************************************************************************** + /** + * @param $title + * + * @return bool + */ + function addInfoBox($title) + { + $ret['title'] = $title; + $this -> _itemInfoBox[] = $ret; + + return true; + } + //****************************************************************************************************************** + // addInfoBoxLine + //****************************************************************************************************************** + // $label: title of InfoBox Line + // $text: + // $type: type of config: 1- "default": Just a line with value. + // 2- "information": check if this is an folder. + // 3- "chmod": check if this is the good chmod. + // For this type ("chmod"), the value is an array: array(path, chmod) + //****************************************************************************************************************** + /** + * @param $label + * @param $text + * @param string $value + * @param string $color + * @param string $type + * + * @return bool + */ + function addInfoBoxLine($label, $text, $value = '', $color = 'inherit', $type = 'default') + { + $ret['label'] = $label; + $line = ""; + switch ($type) + { + default: + case "default": + $line .= sprintf($text, "<span style='color : " . $color . "; font-weight : bold;'>" . $value . "</span>"); + break; + + case "information": + $line .= $text; + break; + } + $ret['line'] = $line; + $this -> _itemInfoBoxLine[] = $ret; + + return true; + } + + /** + * @return string + */ + function renderInfoBox() + { + $ret = ""; + foreach (array_keys( $this -> _itemInfoBox) as $i) { + $ret .= "<fieldset><legend class=\"label\">"; + $ret .= $this -> _itemInfoBox[$i]['title']; + $ret .= "</legend>\n"; + foreach (array_keys( $this -> _itemInfoBoxLine) as $k) { + if ($this -> _itemInfoBoxLine[$k]['label'] == $this -> _itemInfoBox[$i]['title']) { + $ret .= $this -> _itemInfoBoxLine[$k]['line']; + $ret .= "<br />"; + } + } + $ret .= "</fieldset>\n"; + $ret .= "<br/>\n"; + } + + return $ret; + } + + /** + * @param string $paypal + * @param bool $logo_xoops + * + * @return string + */ + function renderAbout($paypal = '', $logo_xoops = true) + { + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/32/"; + + $ret = "<table class=\"table table-bordered\">\n<tr>\n"; + $ret .= "<td width=\"50%\">\n"; + $date = explode('/',$this->_obj->getInfo('release_date')); + $author = explode(',',$this->_obj->getInfo('author')); + $nickname = explode(',',$this->_obj->getInfo('nickname')); + $release_date = formatTimestamp(mktime(0, 0, 0, $date[1], $date[2], $date[0]), 's'); + $module_info = '<div id="about"><label>' . _AM_MODULEADMIN_ABOUT_DESCRIPTION . '</label><text>' . $this->_obj->getInfo("description") . '</text><br /> + <label>' . _AM_MODULEADMIN_ABOUT_UPDATEDATE . '</label><text class="bold">' . formatTimestamp($this->_obj->getVar("last_update"),"m") . '</text><br /> + <label>' . _AM_MODULEADMIN_ABOUT_MODULESTATUS . '</label><text>' . $this->_obj->getInfo("module_status") . '</text><br /> + <label>' . _AM_MODULEADMIN_ABOUT_WEBSITE . '</label><text><a class="tooltip" href="http://' . $this->_obj->getInfo("module_website_url") . '" rel="external" title="'. $this->_obj->getInfo("module_website_name") . ' - ' . $this->_obj->getInfo("module_website_url") . '"> + ' . $this->_obj->getInfo("module_website_name") . '</a></text></div>'; + $ret .= "<table class=\"table table-bordered\">\n<tr>\n<td width=\"100px\">\n"; + $ret .= "<img src='" . XOOPS_URL . "/modules/" . $this->_obj->getVar('dirname') . "/" . $this->_obj->getInfo('image') . "' alt='" . $this->_obj->getVar('name') . "' style='float: left; margin-right: 10px;' />\n"; + $ret .= "</td><td>\n"; + $ret .= "<div style='margin-top: 1px; margin-bottom: 4px; font-size: 18px; line-height: 18px; color: #2F5376; font-weight: bold;'>\n"; + $ret .= $this->_obj->getInfo('name') . " " . $this->_obj->getInfo('version') . " " . $this->_obj->getInfo('module_status') . " (" . $release_date . ")\n"; + $ret .= "<br />\n"; + $ret .= "</div>\n"; + $ret .= "<div style='line-height: 16px; font-weight: bold;'>\n"; + $ret .= "by "; + foreach (array_keys($author) as $i) { + $ret .= $author[$i]; + if (isset($nickname[$i]) && $nickname[$i] !='') { + $ret .= " (" . $nickname[$i] . "), "; + } else { + $ret .= ", "; + } + } + $ret = substr($ret,0,-2); + $ret .= "</div>\n"; + $ret .= "<div style='line-height: 16px;'>\n"; + $ret.= "<a href=\"http://" . $this->_obj->getInfo('license_url'). "\" target=\"_blank\" >" . $this->_obj->getInfo('license'). "</a>\n"; + $ret .= "<br />\n"; + $ret .= "<a href=\"http://" . $this->_obj->getInfo('website') . "\" target=\"_blank\" >" . $this->_obj->getInfo('website') . "</a>\n"; + $ret .= "<br />\n"; + $ret .= "<br />\n"; + if ($paypal != '') { + $ret .= '<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> + <input type="hidden" name="cmd" value="_s-xclick"> + <input type="hidden" name="hosted_button_id" value="' . $paypal . '"> + <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> + <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"> + </form>'; + } + $ret .= "</div>\n"; + $ret .= "</td>\n</tr>\n</table>\n"; + $this -> addInfoBox(_AM_MODULEADMIN_ABOUT_MODULEINFO); + $this -> addInfoBoxLine(_AM_MODULEADMIN_ABOUT_MODULEINFO, $module_info, '', '', 'information'); + $ret .= $this -> renderInfoBox(); + $ret .= "</td>\n"; + $ret .= "<td width=\"50%\">\n"; + $ret .= "<fieldset><legend class=\"label\">\n"; + $ret .= _AM_MODULEADMIN_ABOUT_CHANGELOG; + $ret .= "</legend><br/>\n"; + $ret .= "<div class=\"txtchangelog\">\n"; + $language = $GLOBALS['xoopsConfig']['language']; + if ( !is_file( XOOPS_ROOT_PATH . "/modules/" . $this->_obj->getVar("dirname") . "/language/" . $language . "/changelog.txt" ) ) { + $language = 'english'; + } + $language = empty($language) ? $GLOBALS['xoopsConfig']['language'] : $language; + $file = XOOPS_ROOT_PATH. "/modules/" . $this->_obj->getVar("dirname") . "/language/" . $language . "/changelog.txt"; + if ( is_readable( $file ) ) { + $ret .= utf8_encode(implode("<br />", file( $file ))) . "\n"; + } else { + $file = XOOPS_ROOT_PATH. "/modules/" . $this->_obj->getVar("dirname") . "/docs/changelog.txt"; + if ( is_readable( $file ) ) { + $ret .= utf8_encode(implode("<br />", file( $file ))) . "\n"; + } + } + $ret .= "</div>\n"; + $ret .= "</fieldset>\n"; + $ret .= "</td>\n"; + $ret .= "</tr>\n"; + $ret .= "</table>\n"; + if ($logo_xoops == true) { + $ret .= "<div align=\"center\">"; + $ret .= "<a href=\"http://www.xoops.org\" target=\"_blank\"><img src=\"" . $path . "xoopsmicrobutton.gif\" alt=\"XOOPS\" title=\"XOOPS\"></a>"; + $ret .= "</div>"; + } + + return $ret; + } + + /** + * @param string $menu + * + * @return string + */ + function addNavigation($menu = '') + { + $ret = ""; + $navigation = ""; + $path = XOOPS_URL . "/modules/" . $this->_obj->getVar('dirname') . "/"; + $this->_obj->loadAdminMenu(); + foreach (array_keys( $this->_obj->adminmenu) as $i) { + if ($this->_obj->adminmenu[$i]['link'] == "admin/" . $menu) { + $navigation .= $this->_obj->adminmenu[$i]['title'] . " | "; + $ret = "<div class=\"CPbigTitle\" style=\"background-image: url(" . $path . $this->_obj->adminmenu[$i]['icon'] . "); background-repeat: no-repeat; background-position: left; padding-left: 50px;\"> + <strong>" . $this->_obj->adminmenu[$i]['title'] . "</strong></div><br />"; + } else { + $navigation .= "<a href = '../" . $this->_obj->adminmenu[$i]['link'] . "'>" . $this->_obj->adminmenu[$i]['title'] . "</a> | "; + } + } + if (substr(XOOPS_VERSION, 0, 9) < 'XOOPS 2.5') { + $navigation .= "<a href = '../../system/admin.php?fct=preferences&op=showmod&mod=" . $this->_obj->getVar('mid') . "'>" . _MI_SYSTEM_ADMENU6 . "</a>"; + $ret = $navigation . "<br /><br />" . $ret; + } + + return $ret; + } +} Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php 2015-02-14 15:51:50 UTC (rev 12978) @@ -0,0 +1,218 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * XOOPS page navigation + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package class + * @since 2.5.6 + * @author Kazumi Ono (http://www.myweb.ne.jp/, http://jp.xoops.org/) + * @author Gregory Mage (AKA Mage) + * @version $Id: pagenav.php 11791 2013-06-28 10:13:50Z timgno $ + */ + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +class XoopsPageNav +{ + /** + * *#@+ + * + * @access private + */ + /** + * @var int + */ + private $total; + + /** + * @var int + */ + private $perpage; + + /** + * @var int + */ + private $current; + + /** + * @var string + */ + private $url; + /** + * *#@- + */ + + /** + * Constructor + * + * @param int $total_items Total number of items + * @param int $items_perpage Number of items per page + * @param int $current_start First item on the current page + * @param string $start_name Name for "start" or "offset" + * @param string $extra_arg Additional arguments to pass in the URL + */ + public function __construct($total_items, $items_perpage, $current_start, $start_name = "start", $extra_arg = "") + { + $this->total = intval($total_items); + $this->perpage = intval($items_perpage); + $this->current = intval($current_start); + $this->extra = $extra_arg; + if ($extra_arg != '' && (substr($extra_arg, - 5) != '&' || substr($extra_arg, - 1) != '&')) { + $this->extra = '&' . $extra_arg; + } + $this->url = $_SERVER['PHP_SELF'] . '?' . trim($start_name) . '='; + } + + /** + * Create text navigation + * + * @param integer $offset + * @param string $size of pagination(Value: 'large', '', 'small', 'mini') + * @param string $align of pagination(Value: 'right', 'centered') + * @param string $prev_text text for previous + * @param string $next_text text for next + * @return string + */ + public function renderNav($offset = 4, $size = "", $align = "right", $prev_text = "«", $next_text = "»") + { + $xoopsTpl = new XoopsTpl(); + $ret = ''; + $nav = array(); + if ($this->total <= $this->perpage) { + return $ret; + } + if(($this->total != 0) && ($this->perpage != 0)) { + $total_pages = ceil($this->total / $this->perpage); + if ($total_pages > 1) { + $prev = $this->current - $this->perpage; + if ($prev >= 0) { + $xoopsTpl->assign('prev_text', $prev_text); + $xoopsTpl->assign('prev_url', $this->url . $prev . $this->extra); + } + $last = 0; + $last_text = ''; + $last_url = ''; + $first = 0; + $first_text = ''; + $first_url = ''; + $counter = 1; + $current_page = intval(floor(($this->current + $this->perpage) / $this->perpage)); + while ($counter <= $total_pages) { + if ($counter == $current_page) { + $nav['text'] = $counter; + $nav['url'] = ''; + $nav['active'] = 0; + } elseif (($counter > $current_page - $offset && $counter < $current_page + $offset) || $counter == 1 || $counter == $total_pages) { + if ($counter == $total_pages && $current_page < $total_pages - $offset) { + $nav['text'] = '...'; + $nav['url'] = ''; + $nav['active'] = 0; + $last = 1; + $last_text = $counter; + $last_url = $this->url . (($counter - 1) * $this->perpage) . $this->extra; + } else { + $nav['text'] = $counter; + $nav['url'] = $this->url . (($counter - 1) * $this->perpage) . $this->extra; + $nav['active'] = 1; + } + if ($counter == 1 && $current_page > 1 + $offset){ + $nav['text'] = '...'; + $nav['url'] = ''; + $nav['active'] = 0; + $first = 1; + $first_text = $counter; + $first_url = $this->url . (($counter - 1) * $this->perpage) . $this->extra; + } + } + $xoopsTpl->append_by_ref('xo_nav', $nav); + unset($nav); + $counter ++; + } + $xoopsTpl->assign('last', $last); + $xoopsTpl->assign('last_text', $last_text); + $xoopsTpl->assign('last_url', $last_url); + $xoopsTpl->assign('first', $first); + $xoopsTpl->assign('first_text', $first_text); + $xoopsTpl->assign('first_url', $first_url); + + $next = $this->current + $this->perpage; + if ($this->total > $next) { + $xoopsTpl->assign('next_text', $next_text); + $xoopsTpl->assign('next_url', $this->url . $next . $this->extra); + } + } + } + if ($size != ''){ + $size = ' pagination-' . $size; + } + $xoopsTpl->assign('size', $size); + $xoopsTpl->assign('align', ' pagination-' . $align); + $xoopsTpl->assign('pagination_nav', true); + $ret = $xoopsTpl->fetch('db:system_pagenav.html'); + $xoopsTpl->clear_assign('xo_nav'); + return $ret; + } + + /** + * Create a navigational dropdown list + * + * @param boolean $showbutton Show the "Go" button? + * @return string|false + */ + public function renderSelect($align = "right", $showbutton = false) + { + $xoopsTpl = new XoopsTpl(); + $ret = ''; + if ($this->total < $this->perpage) { + return $ret; + } + $total_pages = ceil($this->total / $this->perpage); + if ($total_pages > 1) { + $counter = 1; + $current_page = intval(floor(($this->current + $this->perpage) / $this->perpage)); + while ($counter <= $total_pages) { + $select['text'] = $counter; + $select['value'] = $this->url . (($counter - 1) * $this->perpage) . $this->extra; + if ($counter == $current_page) { + $select['selected'] = 1; + } else { + $select['selected'] = 0; + } + $xoopsTpl->append_by_ref('xo_select', $select); + unset($select); + $counter ++; + } + } + $xoopsTpl->assign('onchange', "location=this.options[this.options.selectedIndex].value;"); + $xoopsTpl->assign('pagination_select', true); + $xoopsTpl->assign('showbutton', $showbutton); + $xoopsTpl->assign('align', ' pagination-' . $align); + $ret = $xoopsTpl->fetch('db:system_pagenav.html'); + $xoopsTpl->clear_assign('xo_select'); + return $ret; + } + + /** + * Create navigation with images + * + * @param integer $offset + * @return string|false + */ + public function renderImageNav($offset = 4) + { + $xoopsTpl = new XoopsTpl(); + $xoopsTpl->deprecated('renderImageNav() is deprecated since 2.6.0. Please use renderNav()'); + return $this->renderNav($offset); + } +} \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-02-14 10:36:50 UTC (rev 12977) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-02-14 15:51:50 UTC (rev 12978) @@ -9,14 +9,14 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) + * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @author Skalpa Keo <sk...@xo...> * @author Taiwen Jiang <ph...@us...> * @since 2.3.0 * @package kernel * @subpackage xos_opal_Theme - * @version $Id: theme.php 12666 2014-06-30 10:02:07Z beckmi $ + * @version $Id: theme.php 12537 2014-05-19 14:19:33Z beckmi $ */ defined('XOOPS_ROOT_PATH') || die('Restricted access'); Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formbutton.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formbutton.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formbutton.php 2015-02-14 15:51:50 UTC (rev 12978) @@ -0,0 +1,117 @@ +<?php +/** + * XOOPS form element of button + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package kernel + * @subpackage form + * @since 2.0.0 + * @author Kazumi Ono (AKA onokazu) http://www.myweb.ne.jp/, http://jp.xoops.org/ + * @version $Id: formbutton.php 12537 2014-05-19 14:19:33Z beckmi $ + */ +defined('XOOPS_ROOT_PATH') || die("XOOPS root path not defined"); + +xoops_load('XoopsFormElement'); + +/** + * + * + * @package kernel + * @subpackage form + * + * @author Kazumi Ono <on...@xo...> + * @copyright copyright (c) 2000-2003 XOOPS.org + */ +/** + * A button + * + * @author Kazumi Ono <on...@xo...> + * @copyright copyright (c) 2000-2003 XOOPS.org + * + * @package kernel + * @subpackage form + */ +class XoopsFormButton extends XoopsFormElement +{ + + /** + * Value + * @var string + * @access private + */ + var $_value; + + /** + * Type of the button. This could be either "button", "submit", or "reset" + * @var string + * @access private + */ + var $_type; + + /** + * Constructor + * + * @param string $caption Caption + * @param string $name + * @param string $value + * @param string $type Type of the button. Potential values: "button", "submit", or "reset" + */ + function XoopsFormButton($caption, $name, $value = "", $type = "button") + { + $this->setCaption($caption); + $this->setName($name); + $this->_type = $type; + $this->setValue($value); + } + + /** + * Get the initial value + * + * @param bool $encode To sanitizer the text? + * @return string + */ + function getValue($encode = false) + { + return $encode ? htmlspecialchars($this->_value, ENT_QUOTES) : $this->_value; + } + + /** + * Set the initial value + * + * @param $value + * + * @return string + */ + function setValue($value) + { + $this->_value = $value; + } + + /** + * Get the type + * + * @return string + */ + function getType() + { + return in_array( strtolower($this->_type), array("button", "submit", "reset") ) ? $this->_type : "button"; + } + + /** + * prepare HTML for output + * + * @return string + */ + function render() + { + return "<input type='" . $this->getType() . "' class='btn btn-default' name='" . $this->getName() . "' id='" . $this->getName() . "' value='" . $this->getValue() . "' title='" . $this->getValue() . "'" . $this->getExtra() . " />"; + } +} Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formbuttontray.php ======================================... [truncated message content] |
From: <txm...@us...> - 2015-02-15 15:23:29
|
Revision: 12981 http://sourceforge.net/p/xoops/svn/12981 Author: txmodxoops Date: 2015-02-15 15:23:22 +0000 (Sun, 15 Feb 2015) Log Message: ----------- Updated Added calendar icon for datepcker Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php 2015-02-15 10:32:18 UTC (rev 12980) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php 2015-02-15 15:23:22 UTC (rev 12981) @@ -59,15 +59,18 @@ if (!$included) { $included = true; $GLOBALS['xoTheme']->addScript('','', ' - $(function() { - $( ".datepicker" ).datepicker({ $.datepicker.regional[ "'. _LANGCODE .'" ] }); - $( ".datepicker" ).datepicker({ + $(function() { + $( ".datepicker" ).datepicker({ + showOn: "button", + buttonImage: "'.XOOPS_URL.'/images/calendar.png", + buttonImageOnly: true, + buttonText: "Select date", showWeek: true, firstDay: 1, showButtonPanel: true, showOtherMonths: true, selectOtherMonths: true - }); + }).regional[ "'. _LANGCODE .'" ]; }); '); } Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png =================================================================== (Binary files differ) Index: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png 2015-02-15 10:32:18 UTC (rev 12980) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png 2015-02-15 15:23:22 UTC (rev 12981) Property changes on: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property |
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> |
From: <txm...@us...> - 2015-02-19 09:38:01
|
Revision: 13002 http://sourceforge.net/p/xoops/svn/13002 Author: txmodxoops Date: 2015-02-19 09:37:52 +0000 (Thu, 19 Feb 2015) Log Message: ----------- Updated form elements to bootstrap 3 Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formdhtmltextarea.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formselect.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_form.html Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formpassword.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtext.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextarea.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/grouppermform.php Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formdhtmltextarea.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formdhtmltextarea.php 2015-02-18 23:25:57 UTC (rev 13001) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formdhtmltextarea.php 2015-02-19 09:37:52 UTC (rev 13002) @@ -152,7 +152,7 @@ $ret .= "<input type='button' class='btn btn-info' onclick=\"XoopsCheckLength('" . $this->getName() . "', '" . @$this->configs['maxlength'] . "', '" . _XOOPS_FORM_ALT_LENGTH . "', '" . _XOOPS_FORM_ALT_LENGTH_MAX . "');\" value=' ? ' title='" . _XOOPS_FORM_ALT_CHECKLENGTH . "' />"; $ret .= "<br />\n"; // the textarea box - $ret .= "<textarea id='" . $this->getName() . "' name='" . $this->getName() . "' title='". $this->getTitle() . "' onselect=\"xoopsSavePosition('" . $this->getName() . "');\" onclick=\"xoopsSavePosition('" . $this->getName() . "');\" onkeyup=\"xoopsSavePosition('" . $this->getName() . "');\" cols='" . $this->getCols() . "' rows='" . $this->getRows() . "'" . $this->getExtra() . ">" . $this->getValue() . "</textarea><br />\n"; + $ret .= "<textarea id='" . $this->getName() . "' name='" . $this->getName() . "' class=\"form-control\" title='". $this->getTitle() . "' onselect=\"xoopsSavePosition('" . $this->getName() . "');\" onclick=\"xoopsSavePosition('" . $this->getName() . "');\" onkeyup=\"xoopsSavePosition('" . $this->getName() . "');\" cols='" . $this->getCols() . "' rows='" . $this->getRows() . "'" . $this->getExtra() . ">" . $this->getValue() . "</textarea><br />\n"; if (empty($this->skipPreview)) { if (empty($GLOBALS['xoTheme'])) { @@ -214,20 +214,20 @@ $textarea_id = $this->getName(); $hiddentext = $this->_hiddenText; - $fontStr = "<script type=\"text/javascript\">" . "var _editor_dialog = ''" . "+ '<select id=\'{$textarea_id}Size\' onchange=\'xoopsSetElementAttribute(\"size\", this.options[this.selectedIndex].value, \"{$textarea_id}\", \"{$hiddentext}\");\'>'" . "+ '<option value=\'SIZE\'>" . _SIZE . "</option>'"; + $fontStr = "<script type=\"text/javascript\">" . "var _editor_dialog = ''" . "+ '<select class=\"form-control\" id=\'{$textarea_id}Size\' onchange=\'xoopsSetElementAttribute(\"size\", this.options[this.selectedIndex].value, \"{$textarea_id}\", \"{$hiddentext}\");\'>'" . "+ '<option value=\'SIZE\'>" . _SIZE . "</option>'"; foreach ($GLOBALS["formtextdhtml_sizes"] as $_val => $_name) { $fontStr .= " + '<option value=\'{$_val}\'>{$_name}</option>'"; } ; $fontStr .= " + '</select> '"; - $fontStr .= "+ '<select id=\'{$textarea_id}Font\' onchange=\'xoopsSetElementAttribute(\"font\", this.options[this.selectedIndex].value, \"{$textarea_id}\", \"{$hiddentext}\");\'>'" . "+ '<option value=\'FONT\'>" . _FONT . "</option>'"; + $fontStr .= "+ '<select class=\"form-control\" id=\'{$textarea_id}Font\' onchange=\'xoopsSetElementAttribute(\"font\", this.options[this.selectedIndex].value, \"{$textarea_id}\", \"{$hiddentext}\");\'>'" . "+ '<option value=\'FONT\'>" . _FONT . "</option>'"; $fontarray = ! empty($GLOBALS["formtextdhtml_fonts"]) ? $GLOBALS["formtextdhtml_fonts"] : array("Arial" , "Courier" , "Georgia" , "Helvetica" , "Impact" , "Verdana" , "Haettenschweiler"); foreach ($fontarray as $font) { $fontStr .= " + '<option value=\'{$font}\'>{$font}</option>'"; } ; $fontStr .= " + '</select> '"; - $fontStr .= "+ '<select id=\'{$textarea_id}Color\' onchange=\'xoopsSetElementAttribute(\"color\", this.options[this.selectedIndex].value, \"{$textarea_id}\", \"{$hiddentext}\");\'>'" . "+ '<option value=\'COLOR\'>" . _COLOR . "</option>';" . "var _color_array = new Array('00', '33', '66', '99', 'CC', 'FF'); + $fontStr .= "+ '<select class=\"form-control\" id=\'{$textarea_id}Color\' onchange=\'xoopsSetElementAttribute(\"color\", this.options[this.selectedIndex].value, \"{$textarea_id}\", \"{$hiddentext}\");\'>'" . "+ '<option value=\'COLOR\'>" . _COLOR . "</option>';" . "var _color_array = new Array('00', '33', '66', '99', 'CC', 'FF'); for (var i = 0; i < _color_array.length; i ++) { for (var j = 0; j < _color_array.length; j ++) { for (var k = 0; k < _color_array.length; k ++) { Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formpassword.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formpassword.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formpassword.php 2015-02-19 09:37:52 UTC (rev 13002) @@ -0,0 +1,132 @@ +<?php +/** + * Password form element + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package kernel + * @subpackage form + * @since 2.0.0 + * @author Kazumi Ono (AKA onokazu) http://www.myweb.ne.jp/, http://jp.xoops.org/ + * @author Taiwen Jiang <ph...@us...> + * @version $Id: formpassword.php 12537 2014-05-19 14:19:33Z beckmi $ + */ +defined('XOOPS_ROOT_PATH') || die('Restricted access'); + +/** + * Password Field + */ +class XoopsFormPassword extends XoopsFormElement +{ + /** + * Size of the field. + * + * @var int + * @access private + */ + var $_size; + + /** + * Maximum length of the text + * + * @var int + * @access private + */ + var $_maxlength; + + /** + * Initial content of the field. + * + * @var string + * @access private + */ + var $_value; + + /** + * Cache password with browser. Disabled by default for security consideration + * Added in 2.3.1 + * + * @var boolean + * @access public + */ + var $autoComplete = false; + + /** + * Constructor + * + * @param string $caption Caption + * @param string $name "name" attribute + * @param int $size Size of the field + * @param int $maxlength Maximum length of the text + * @param string $value Initial value of the field. + * <strong>Warning:</strong> this is readable in cleartext in the page's source! + * @param bool $autoComplete To enable autoComplete or browser cache + */ + function XoopsFormPassword($caption, $name, $size, $maxlength, $value = '', $autoComplete = false) + { + $this->setCaption($caption); + $this->setName($name); + $this->_size = intval($size); + $this->_maxlength = intval($maxlength); + $this->setValue($value); + $this->autoComplete = ! empty($autoComplete); + } + + /** + * Get the field size + * + * @return int + */ + function getSize() + { + return $this->_size; + } + + /** + * Get the max length + * + * @return int + */ + function getMaxlength() + { + return $this->_maxlength; + } + + /** + * Get the "value" attribute + * + * @param bool $encode To sanitizer the text? + * @return string + */ + function getValue($encode = false) + { + return $encode ? htmlspecialchars($this->_value, ENT_QUOTES) : $this->_value; + } + + /** + * Set the initial value + * + * @patam $value string + */ + function setValue($value) + { + $this->_value = $value; + } + + /** + * Prepare HTML for output + * + * @return string HTML + */ + function render() + { + return '<input type="password" name="' . $this->getName() . '" id="' . $this->getName() . '" class="form-control" size="' . $this->getSize() . '" maxlength="' . $this->getMaxlength() . '" value="' . $this->getValue() . '"' . $this->getExtra() . ' ' . ($this->autoComplete ? '' : 'autocomplete="off" ') . '/>'; + } +} Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formselect.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formselect.php 2015-02-18 23:25:57 UTC (rev 13001) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formselect.php 2015-02-19 09:37:52 UTC (rev 13002) @@ -204,7 +204,7 @@ $ele_title = $this->getTitle(); $ele_value = $this->getValue(); $ele_options = $this->getOptions(); - $ret = '<select size="' . $this->getSize() . '"' . $this->getExtra(); + $ret = '<select class="form-control" size="' . $this->getSize() . '"' . $this->getExtra(); if ($this->isMultiple() != false) { $ret .= ' multiple name="' . $ele_name . '[]" id="' . $ele_name . '" title="'. $ele_title. '">'; } else { Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtext.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtext.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtext.php 2015-02-19 09:37:52 UTC (rev 13002) @@ -0,0 +1,120 @@ +<?php +/** + * XOOPS form element + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package kernel + * @subpackage form + * @since 2.0.0 + * @author Kazumi Ono (AKA onokazu) http://www.myweb.ne.jp/, http://jp.xoops.org/ + * @version $Id: formtext.php 12537 2014-05-19 14:19:33Z beckmi $ + */ + +defined('XOOPS_ROOT_PATH') || die('Restricted access'); + +/** + * A simple text field + */ +class XoopsFormText extends XoopsFormElement +{ + /** + * Size + * + * @var int + * @access private + */ + var $_size; + + /** + * Maximum length of the text + * + * @var int + * @access private + */ + var $_maxlength; + + /** + * Initial text + * + * @var string + * @access private + */ + var $_value; + + /** + * Constructor + * + * @param string $caption Caption + * @param string $name "name" attribute + * @param int $size Size + * @param int $maxlength Maximum length of text + * @param string $value Initial text + */ + function XoopsFormText($caption, $name, $size, $maxlength, $value = '') + { + $this->setCaption($caption); + $this->setName($name); + $this->_size = intval($size); + $this->_maxlength = intval($maxlength); + $this->setValue($value); + } + + /** + * Get size + * + * @return int + */ + function getSize() + { + return $this->_size; + } + + /** + * Get maximum text length + * + * @return int + */ + function getMaxlength() + { + return $this->_maxlength; + } + + /** + * Get initial content + * + * @param bool $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compatibility + * @return string + */ + function getValue($encode = false) + { + return $encode ? htmlspecialchars($this->_value, ENT_QUOTES) : $this->_value; + } + + /** + * Set initial text value + * + * @param $value string + */ + function setValue($value) + { + $this->_value = $value; + } + + /** + * Prepare HTML for output + * + * @return string HTML + */ + function render() + { + return "<input type='text' name='" . $this->getName() . "' class='form-control' title='" . $this->getTitle() . "' id='" . $this->getName() . "' size='" . $this->getSize() . "' maxlength='" . $this->getMaxlength() . "' value='" . $this->getValue() . "'" . $this->getExtra() . " />"; + } +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextarea.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextarea.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextarea.php 2015-02-19 09:37:52 UTC (rev 13002) @@ -0,0 +1,122 @@ +<?php +/** + * XOOPS form element + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package kernel + * @subpackage form + * @since 2.0.0 + * @author Kazumi Ono (AKA onokazu) http://www.myweb.ne.jp/, http://jp.xoops.org/ + * @version $Id: formtextarea.php 12537 2014-05-19 14:19:33Z beckmi $ + */ + +defined('XOOPS_ROOT_PATH') || die('Restricted access'); + +xoops_load('XoopsFormElement'); + +/** + * A textarea + */ +class XoopsFormTextArea extends XoopsFormElement +{ + /** + * number of columns + * + * @var int + * @access private + */ + var $_cols; + + /** + * number of rows + * + * @var int + * @access private + */ + var $_rows; + + /** + * initial content + * + * @var string + * @access private + */ + var $_value; + + /** + * Constuctor + * + * @param string $caption caption + * @param string $name name + * @param string $value initial content + * @param int $rows number of rows + * @param int $cols number of columns + */ + function XoopsFormTextArea($caption, $name, $value = "", $rows = 5, $cols = 50) + { + $this->setCaption($caption); + $this->setName($name); + $this->_rows = intval($rows); + $this->_cols = intval($cols); + $this->setValue($value); + } + + /** + * get number of rows + * + * @return int + */ + function getRows() + { + return $this->_rows; + } + + /** + * Get number of columns + * + * @return int + */ + function getCols() + { + return $this->_cols; + } + + /** + * Get initial content + * + * @param bool $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compatibility + * @return string + */ + function getValue($encode = false) + { + return $encode ? htmlspecialchars($this->_value) : $this->_value; + } + + /** + * Set initial content + * + * @param $value string + */ + function setValue($value) + { + $this->_value = $value; + } + + /** + * prepare HTML for output + * + * @return sting HTML + */ + function render() + { + return "<textarea name='" . $this->getName() . "' id='" . $this->getName() . "' class=\"form-control\" title='" . $this->getTitle() . "' rows='" . $this->getRows() . "' cols='" . $this->getCols() . "'" . $this->getExtra() . ">" . $this->getValue() . "</textarea>"; + } +} Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/grouppermform.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/grouppermform.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/grouppermform.php 2015-02-19 09:37:52 UTC (rev 13002) @@ -0,0 +1,320 @@ +<?php +/** + * XOOPS form element + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package kernel + * @subpackage form + * @since 2.0.0 + * @version $Id: grouppermform.php 12537 2014-05-19 14:19:33Z beckmi $ + */ + +defined('XOOPS_ROOT_PATH') || die('Restricted access'); + +xoops_load('XoopsFormElement'); +xoops_load('XoopsFormHidden'); +xoops_load('XoopsFormHiddenToken'); +xoops_load('XoopsForm'); +xoops_load('XoopsFormElementTray'); +xoops_load('XoopsFormButton'); + +/** + * Renders a form for setting module specific group permissions + */ +class XoopsGroupPermForm extends XoopsForm +{ + /** + * Module ID + * + * @var int + */ + var $_modid; + /** + * Tree structure of items + * + * @var array + */ + var $_itemTree = array(); + /** + * Name of permission + * + * @var string + */ + var $_permName; + /** + * Description of permission + * + * @var string + */ + var $_permDesc; + + /** + * Whether to include anonymous users + * + * @var bool + */ + var $_showAnonymous; + + /** + * Constructor + */ + function XoopsGroupPermForm($title, $modid, $permname, $permdesc, $url = '', $anonymous = true) + { + $this->XoopsForm($title, 'groupperm_form', XOOPS_URL . '/modules/system/admin/groupperm.php', 'post'); + $this->_modid = intval($modid); + $this->_permName = $permname; + $this->_permDesc = $permdesc; + $this->addElement(new XoopsFormHidden('modid', $this->_modid)); + $this->addElement(new XoopsFormHiddenToken($permname)); + if ($url != "") { + $this->addElement(new XoopsFormHidden('redirect_url', $url)); + } + $this->_showAnonymous = $anonymous; + } + + /** + * Adds an item to which permission will be assigned + * + * @param string $itemName + * @param int $itemId + * @param int $itemParent + * @access public + */ + function addItem($itemId, $itemName, $itemParent = 0) + { + $this->_itemTree[$itemParent]['children'][] = $itemId; + $this->_itemTree[$itemId]['parent'] = $itemParent; + $this->_itemTree[$itemId]['name'] = $itemName; + $this->_itemTree[$itemId]['id'] = $itemId; + } + + /** + * Loads all child ids for an item to be used in javascript + * + * @param int $itemId + * @param array $childIds + * @access private + */ + function _loadAllChildItemIds($itemId, &$childIds) + { + if (! empty($this->_itemTree[$itemId]['children'])) { + $first_child = $this->_itemTree[$itemId]['children']; + foreach($first_child as $fcid) { + array_push($childIds, $fcid); + if (! empty($this->_itemTree[$fcid]['children'])) { + foreach($this->_itemTree[$fcid]['children'] as $_fcid) { + array_push($childIds, $_fcid); + $this->_loadAllChildItemIds($_fcid, $childIds); + } + } + } + } + } + + /** + * Renders the form + * + * @return string + * @access public + */ + function render() + { + // load all child ids for javascript codes + foreach(array_keys($this->_itemTree) as $item_id) { + $this->_itemTree[$item_id]['allchild'] = array(); + $this->_loadAllChildItemIds($item_id, $this->_itemTree[$item_id]['allchild']); + } + $gperm_handler = &xoops_gethandler('groupperm'); + $member_handler = &xoops_gethandler('member'); + $glist = $member_handler->getGroupList(); + foreach(array_keys($glist) as $i) { + if ($i == XOOPS_GROUP_ANONYMOUS && ! $this->_showAnonymous) + continue; + // get selected item id(s) for each group + $selected = $gperm_handler->getItemIds($this->_permName, $i, $this->_modid); + $ele = new XoopsGroupFormCheckBox($glist[$i], 'perms[' . $this->_permName . ']', $i, $selected); + $ele->setOptionTree($this->_itemTree); + $this->addElement($ele); + unset($ele); + } + $tray = new XoopsFormElementTray(''); + $tray->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); + $tray->addElement(new XoopsFormButton('', 'reset', _CANCEL, 'reset')); + $this->addElement($tray); + + $ret = '<h4>' . $this->getTitle() . '</h4>'; + if ($this->_permDesc) { + $ret .= $this->_permDesc . '<br /><br />'; + } + $ret .= '<form title="' . str_replace('"', '', $this->getTitle()) . '" name="' . $this->getName() . '" id="' . $this->getName() . '" action="' . $this->getAction() . '" method="' . $this->getMethod() . '"' . $this->getExtra() . '>' . '<table width="100%" class="outer" cellspacing="1" valign="top">' ; + $elements = $this->getElements(); + $hidden = ''; + foreach(array_keys($elements) as $i) { + if (! is_object($elements[$i])) { + $ret .= $elements[$i]; + } elseif (! $elements[$i]->isHidden()) { + $ret .= '<tr valign="top" class="left"><td class="head">' . $elements[$i]->getCaption(); + if ($elements[$i]->getDescription() != "") { + $ret .= "<br /><br /><span style='font-weight: normal;'>" . $elements[$i]->getDescription() . "</span>"; + } + $ret .= '</td>' . '<td class="even">' . $elements[$i]->render() . '</td></tr>' . ''; + } else { + $hidden .= $elements[$i]->render(); + } + } + $ret .= '</table>' . $hidden . '</form>'; + $ret .= $this->renderValidationJS(true); + return $ret; + } +} + +/** + * Renders checkbox options for a group permission form + */ +class XoopsGroupFormCheckBox extends XoopsFormElement +{ + /** + * Pre-selected value(s) + * + * @var array ; + */ + var $_value = array(); + /** + * Group ID + * + * @var int + */ + var $_groupId; + /** + * Option tree + * + * @var array + */ + var $_optionTree = array(); + + /** + * Constructor + */ + function XoopsGroupFormCheckBox($caption, $name, $groupId, $values = null) + { + $this->setCaption($caption); + $this->setName($name); + if (isset($values)) { + $this->setValue($values); + } + $this->_groupId = $groupId; + } + + /** + * Sets pre-selected values + * + * @param mixed $value A group ID or an array of group IDs + * @access public + */ + function setValue($value) + { + if (is_array($value)) { + foreach($value as $v) { + $this->setValue($v); + } + } else { + $this->_value[] = $value; + } + } + + /** + * Sets the tree structure of items + * + * @param array $optionTree + * @access public + */ + function setOptionTree(&$optionTree) + { + $this->_optionTree = &$optionTree; + } + + /** + * Renders checkbox options for this group + * + * @return string + * @access public + */ + function render() + { + $ele_name = $this->getName(); + $ret = '<table class="table table-bordered"><tr><td class="odd"><table class="table table-striped"><tr>'; + $cols = 1; + foreach($this->_optionTree[0]['children'] as $topitem) { + if ($cols > 4) { + $ret .= '</tr><tr>'; + $cols = 1; + } + $tree = '<td valign="top">'; + $prefix = ''; + $this->_renderOptionTree($tree, $this->_optionTree[$topitem], $prefix); + $ret .= $tree . '</td>'; + $cols ++; + } + $ret .= '</tr></table></td><td class="even" valign="top">'; + $option_ids = array(); + foreach(array_keys($this->_optionTree) as $id) { + if (! empty($id)) { + $option_ids[] = "'" . $ele_name . '[groups][' . $this->_groupId . '][' . $id . ']' . "'"; + } + } + $checkallbtn_id = $ele_name . '[checkallbtn][' . $this->_groupId . ']'; + $option_ids_str = implode(', ', $option_ids); + $ret .= _ALL . " <input id=\"" . $checkallbtn_id . "\" type=\"checkbox\" value=\"\" onclick=\"var optionids = new Array(" . $option_ids_str . "); xoopsCheckAllElements(optionids, '" . $checkallbtn_id . "');\" />"; + $ret .= '</td></tr></table>'; + return $ret; + } + + /** + * Renders checkbox options for an item tree + * + * @param string $tree + * @param array $option + * @param string $prefix + * @param array $parentIds + * @access private + */ + function _renderOptionTree(&$tree, $option, $prefix, $parentIds = array()) + { + $ele_name = $this->getName(); + $tree .= $prefix . "<input type=\"checkbox\" name=\"" . $ele_name . "[groups][" . $this->_groupId . "][" . $option['id'] . "]\" id=\"" . $ele_name . "[groups][" . $this->_groupId . "][" . $option['id'] . "]\" onclick=\""; + // If there are parent elements, add javascript that will + // make them selecteded when this element is checked to make + // sure permissions to parent items are added as well. + foreach($parentIds as $pid) { + $parent_ele = $ele_name . '[groups][' . $this->_groupId . '][' . $pid . ']'; + $tree .= "var ele = xoopsGetElementById('" . $parent_ele . "'); if(ele.checked != true) {ele.checked = this.checked;}"; + } + // If there are child elements, add javascript that will + // make them unchecked when this element is unchecked to make + // sure permissions to child items are not added when there + // is no permission to this item. + foreach($option['allchild'] as $cid) { + $child_ele = $ele_name . '[groups][' . $this->_groupId . '][' . $cid . ']'; + $tree .= "var ele = xoopsGetElementById('" . $child_ele . "'); if(this.checked != true) {ele.checked = false;}"; + } + $tree .= '" value="1"'; + if (in_array($option['id'], $this->_value)) { + $tree .= ' checked="checked"'; + } + $tree .= " />" . $option['name'] . "<input type=\"hidden\" name=\"" . $ele_name . "[parents][" . $option['id'] . "]\" value=\"" . implode(':', $parentIds) . "\" /><input type=\"hidden\" name=\"" . $ele_name . "[itemname][" . $option['id'] . "]\" value=\"" . htmlspecialchars($option['name']) . "\" /><br />\n"; + if (isset($option['children'])) { + foreach($option['children'] as $child) { + array_push($parentIds, $option['id']); + $this->_renderOptionTree($tree, $this->_optionTree[$child], $prefix . ' -', $parentIds); + } + } + } +} Modified: 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 2015-02-18 23:25:57 UTC (rev 13001) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_form.html 2015-02-19 09:37:52 UTC (rev 13002) @@ -1,6 +1,6 @@ <{$xoForm.javascript}> - <form id="<{$xoForm.name}>" name="<{$xoForm.name}>" action="<{$xoForm.action}>" method="<{$xoForm.method}>" <{$xoForm.extra}> > + <form class='form-inline' 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}> @@ -16,7 +16,9 @@ <{/if}> </td> <td class="<{cycle values='odd, even'}>"> - <{$element.body}> + <div class="form-group"> + <{$element.body}> + </div> </td> </tr> <{/if}> |
From: <txm...@us...> - 2015-03-04 12:35:33
|
Revision: 13007 http://sourceforge.net/p/xoops/svn/13007 Author: txmodxoops Date: 2015-03-04 12:35:29 +0000 (Wed, 04 Mar 2015) Log Message: ----------- Updated & added assets folder in default admin theme Modificed class/theme.php, added assets folder for admin system themes Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_avatars.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_mailusers.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/default.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/accordion.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/buttonbar.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/choosestyle.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/content.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/dark.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/dashboard.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/footer.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/forms.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/globalnav.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/icons.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/logger.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/orange.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/pagenav.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/reset.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/silver.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/style.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/tablesorter.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/tabs.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/toolbar.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/tooltip.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/avatar.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/avatar_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/banners.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/banners_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/blocks.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/blocks_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/check.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/comments.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/comments_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/configuration.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/configuration_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/edituser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/edituser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/filemanager.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/filemanager_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/finduser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/finduser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/groups.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/groups_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/help.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/help_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/icon_options.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/icon_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/images.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/images_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/item.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/mailuser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/mailuser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/maintenance.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/maintenance_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/modules.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/modules_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/newuser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/prefs.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/prefs_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/smilies.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/smilies_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/tpls.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/tpls_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/userrank.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/userrank_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/icons/waiting.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/accordion.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/arrow-light-rtl.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/arrow-light.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/arrow-rtl.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/arrow.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/asc.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/bg.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/bg_tabs1.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/bg_tabs2.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/bgmenu.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/brightside.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/cp.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/dark/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/dark/dark-head.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/dark/dark-menu.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/dark/dark-navcp.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/dark/header-logo_big.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/dark/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/desc.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/feed.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/home.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/icon_big.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/icon_options.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/icon_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/left_both.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/logout.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/modules.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/orange/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/orange/dark-head.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/orange/dark-menu.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/orange/dark-navcp.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/orange/header-logo_big.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/orange/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/sflogo.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/silver/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/silver/bg_tabs1.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/silver/header-bg_big.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/silver/header-logo_big.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/silver/header.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/silver/header_over.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/silver/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/tweb.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/unsort.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/xgiftshopbutton.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/img/xoops.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/js/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/js/formenu.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/js/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/js/menu.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/js/styleswitch.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/js/tabs.jquery.tools.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/js/tooltip.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/language/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/language/english/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/language/english/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/language/english/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/language/english/localsupport.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/language/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/menu.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_accordion.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_footer.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_globalnav.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_head.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_icons.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_metas.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_modules.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_page.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_scripts.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_tabs.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_uptop.html Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/admin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/admin.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/admin.php 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,142 @@ +<?php +/** + * XOOPS admin file + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @version $Id: admin.php 12033 2013-09-14 03:16:44Z beckmi $ + */ +$xoopsOption['pagetype'] = 'admin'; + +include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php'; +include_once $GLOBALS['xoops']->path('include/cp_functions.php'); +/** + * Admin Authentication + */ +if ($xoopsUser) { + if (!$xoopsUser->isAdmin(-1)) { + redirect_header('index.php', 2, _AD_NORIGHT); + exit(); + } +} else { + redirect_header('index.php', 2, _AD_NORIGHT); + exit(); +} + +xoops_cp_header(); +// ###### Output warn messages for security ###### +/** + * Error warning messages + */ +$admin_warnings_enable = false; +if (!isset($xoopsConfig['admin_warnings_enable']) || $xoopsConfig['admin_warnings_enable']) { + if (is_dir(XOOPS_ROOT_PATH . '/install/')) { + xoops_error(sprintf(_AD_WARNINGINSTALL, XOOPS_ROOT_PATH . '/install/')); + echo '<br />'; + $admin_warnings_enable = true; + } + + if (is_writable(XOOPS_ROOT_PATH . '/mainfile.php')) { + xoops_error(sprintf(_AD_WARNINGWRITEABLE, XOOPS_ROOT_PATH . '/mainfile.php')); + echo '<br />'; + $admin_warnings_enable = true; + } + // ###### Output warn messages for correct functionality ###### + if (! is_writable(XOOPS_CACHE_PATH)) { + xoops_error(sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_CACHE_PATH)); + echo '<br />'; + $admin_warnings_enable = true; + } + if (! is_writable(XOOPS_UPLOAD_PATH)) { + xoops_error(sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_UPLOAD_PATH)); + echo '<br />'; + $admin_warnings_enable = true; + } + if (! is_writable(XOOPS_COMPILE_PATH)) { + xoops_error(sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_COMPILE_PATH)); + echo '<br />'; + $admin_warnings_enable = true; + } + + //www fits inside www_private, lets add a trailing slash to make sure it doesn't + if (strpos(XOOPS_PATH . '/', XOOPS_ROOT_PATH . '/') !== false || strpos(XOOPS_PATH . '/', $_SERVER['DOCUMENT_ROOT'] . '/') !== false) { + xoops_error(sprintf(_AD_WARNINGXOOPSLIBINSIDE, XOOPS_PATH)); + echo '<br />'; + $admin_warnings_enable = true; + } + + if (strpos(XOOPS_VAR_PATH . '/', XOOPS_ROOT_PATH . '/') !== false || strpos(XOOPS_VAR_PATH . '/', $_SERVER['DOCUMENT_ROOT'] . '/') !== false) { + xoops_error(sprintf(_AD_WARNINGXOOPSLIBINSIDE, XOOPS_VAR_PATH)); + echo '<br />'; + $admin_warnings_enable = true; + } +} + +$GLOBALS['xoopsTpl']->assign ( 'admin_warnings_enable', $admin_warnings_enable ); + +if (!empty($_GET['xoopsorgnews'])) { + // Multiple feeds + $myts =& MyTextSanitizer::getInstance(); + $rssurl = array(); + $rssurl[] = 'http://sourceforge.net/export/rss2_projnews.php?group_id=41586&rss_fulltext=1'; + $rssurl[] = 'http://www.xoops.org/backend.php'; + if ($URLs = include $GLOBALS['xoops']->path('language/' . xoops_getConfigOption('language') . '/backend.php')) { + $rssurl = array_unique(array_merge($rssurl, $URLs)); + } + $rssfile = 'adminnews-' . xoops_getConfigOption('language'); + xoops_load('XoopsCache'); + $items = array(); + if (!$items = XoopsCache::read($rssfile)) { + require_once $GLOBALS['xoops']->path('class/snoopy.php'); + include_once $GLOBALS['xoops']->path('class/xml/rss/xmlrss2parser.php'); + + xoops_load('XoopsLocal'); + $snoopy = new Snoopy(); + $cnt = 0; + foreach ($rssurl as $url) { + if ($snoopy->fetch($url)) { + $rssdata = $snoopy->results; + $rss2parser = new XoopsXmlRss2Parser($rssdata); + if (false != $rss2parser->parse()) { + $_items = $rss2parser->getItems(); + $count = count($_items); + for ($i = 0; $i < $count; $i ++) { + $_items[$i]['title'] = XoopsLocal::convert_encoding($_items[$i]['title'], _CHARSET, 'UTF-8'); + $_items[$i]['description'] = XoopsLocal::convert_encoding($_items[$i]['description'], _CHARSET, 'UTF-8'); + $items[strval(strtotime($_items[$i]['pubdate'])) . "-" . strval(++$cnt)] = $_items[$i]; + } + } else { + echo $rss2parser->getErrors(); + } + } + } + krsort($items); + XoopsCache::write($rssfile, $items, 86400); + } + if ($items != '') { + $ret = '<table class="table table-bordered">'; + foreach(array_keys($items) as $i) { + $ret .= '<tr class="head"><td><a href="' . htmlspecialchars($items[$i]['link']) . '" rel="external">'; + $ret .= htmlspecialchars($items[$i]['title']) . '</a> (' . htmlspecialchars($items[$i]['pubdate']) . ')</td></tr>'; + if ($items[$i]['description'] != "") { + $ret .= '<tr><td class="odd">' . $items[$i]['description']; + if (! empty($items[$i]['guid'])) { + $ret .= ' <a href="' . htmlspecialchars($items[$i]['guid']) . '" rel="external" title="">' . _MORE . '</a>'; + } + $ret .= '</td></tr>'; + } else if ($items[$i]['guid'] != "") { + $ret .= '<tr><td class="even aligntop"></td><td colspan="2" class="odd"><a href="' . htmlspecialchars($items[$i]['guid']) . '" rel="external">' . _MORE . '</a></td></tr>'; + } + } + $ret .= '</table>'; + echo $ret; + } +} +xoops_cp_footer(); Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php 2015-02-21 20:56:25 UTC (rev 13006) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php 2015-03-04 12:35:29 UTC (rev 13007) @@ -60,7 +60,8 @@ $included = true; $GLOBALS['xoTheme']->addScript('','', ' $(function() { - $( ".datepicker" ).datepicker({ + $.datepicker.setDefaults( $.extend($.datepicker.regional["'. _LANGCODE .'"]) ); + $( "#datepicker-' . ucfirst($ele_name) . '" ).datepicker({ showOn: "button", buttonImage: "'.XOOPS_URL.'/images/calendar.png", buttonImageOnly: true, @@ -70,11 +71,11 @@ showButtonPanel: true, showOtherMonths: true, selectOtherMonths: true - }).regional[ "'. _LANGCODE .'" ]; + }) }); '); } } - return "<input type='text' name='" . $ele_name . "' id='" . $ele_name . "' class='datepicker' size='" . $this->getSize() . "' value='" . $display_value . "'" . $this->getExtra() . " />"; + return "<input type='text' name='" . $ele_name . "' class='form-control' id='datepicker-" . ucfirst($ele_name) . "' size='" . $this->getSize() . "' value=''" . $this->getExtra() . " />"; } } \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_avatars.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_avatars.html 2015-02-21 20:56:25 UTC (rev 13006) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_avatars.html 2015-03-04 12:35:29 UTC (rev 13007) @@ -66,6 +66,6 @@ <{/if}> <!-- Display Avatar form (add,edit) --> <{if $form}> -<div class="spacer"><{$form}></div> +<div class="form-inline"><{$form}></div> <{/if}> <!-- Display Avatar images on edit page --> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_mailusers.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_mailusers.html 2015-02-21 20:56:25 UTC (rev 13006) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_mailusers.html 2015-03-04 12:35:29 UTC (rev 13007) @@ -3,7 +3,7 @@ <!-- Display mailusers form --> <br /> <{if $form}> - <div class="spacer"><{$form}></div> + <div class="form-inline"><{$form}></div> <{/if}> <{$Sucess}> <{$Errors}> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/accordion.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/accordion.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/accordion.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,82 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ + +#accordion { + border:1px solid #f5f5f5; + background-color: #f0f0f0; + color: #333; + width: 100%; + box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -khtml-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; +} + +/* accordion header */ +#accordion h5 { + padding: 5px 10px; + cursor: pointer; + position: relative; + margin: 1px; + background: url(../img/accordion.png) repeat-x !important; + color: #fff; + border: 1px solid #FFF; + font-weight: bold; +} + +/* currently active header */ +#accordion h5.current { + cursor:default; + background-color: #f7f7f7; +} + +/* accordion pane */ +#accordion .pane { + display:none; + padding:10px; + font-size:12px; + line-height: 120%; +} + +.xgiftshop { + text-align: center !important; +} + +#xokeytitle { + padding: 2px; + font-size: 13px; + font-weight: bold; + color: #333; +} + +#xokeynumber { + text-align: center; + padding-top: 5px; + padding-bottom: 5px; + font-size: 13px; + font-weight: bold; + color: #92EF2C; +} + +#xolicenses { + padding: 5px 18px 5px 18px !important; +} + +#xolicenses a{ + color: #45C5DF; +} + +#xolicenses a:hover { + color: #FF0000; + text-decoration: none; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/buttonbar.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/buttonbar.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/buttonbar.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,96 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ + +#buttontop { + float: left !important; + width: 100% !important; + background: #DBD7D1 !important; + font-size: 93% !important; + line-height: normal !important; + border-top: 1px solid #666 !important; + border-left: 1px solid #666 !important; + border-right: 1px solid #666 !important; + margin: 0 !important; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + -webkit-border-top-left-radius: 5px; + -webkit-border-top-right-radius: 5px; + -khtml-border-top-left-radius: 5px; + -khtml-border-top-right-radius: 5px; + border-radius-topleft: 5px; + border-radius-topright: 5px; + line-height: normal !important; +} + +#buttonbar { + float: left !important; + width: 100% !important; + background: #DBD7D1 !important; + font-size: 93% !important; + line-height: normal !important; + border-left: 1px solid #666 !important; + border-right: 1px solid #666 !important; + border-bottom: 1px solid #666 !important; + margin-bottom: 12px !important; +} + +#buttonbar ul { + margin: 0 !important; + margin-top: 15px !important; + padding: 10px 10px 0 !important; + list-style: none !important; +} + +#buttonbar li { + display: inline !important; + margin: 0 !important; + padding: 0 !important; +} + +#buttonbar a { + float: left !important; + background: url('../img/bg_tabs1.gif') no-repeat 0% -34px !important; + margin: 0 !important; + padding: 0 0 0 9px !important; + text-decoration: none !important; + margin: 0 1px 0 0 !important; + text-decoration: none !important; +} + +#buttonbar a span { + float: none !important; + background: url('../img/bg_tabs2.gif') no-repeat 100% -34px !important; +} + +#buttonbar a:hover span { + color: #333 !important; +} + +#buttonbar #current a { + background-position: 0 0 !important; +} + +#buttonbar #current a span { + background-position: 100% 0px !important; + padding-bottom: 5px !important; + color: #23649F !important; +} + +#buttonbar a:hover { + background-position: 0 -69px !important; +} + +#buttonbar a:hover span { + background-position: 100% -69px !important; + color: #BC2A4D !important; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/choosestyle.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/choosestyle.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/choosestyle.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,43 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ + +#choosestyle a { + font-family: tahoma, Helvetica, sans-serif; + font-size: 10px; + border: 1px solid #ccc; + margin: 2px 4px 2px 4px; + float: right; + background-color: #f9f9f9; + color: #333; + padding: 3px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -khtml-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + cursor: pointer; +} + +#choosestyle a:hover { + background-color: #C2CEEF; + color: #000; + text-decoration: none; + box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -khtml-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + cursor: pointer; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/content.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/content.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/content.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,289 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ +h1,h2,h3,h4,h5,h6 { + margin: 0; + line-height: 1.2; + font-weight: bold; + font-style: normal; +} + +h1 {font-size: 1.7em;} +h2 {font-size: 1.5em;} +h3 {font-size: 1.4em;} +h4 {font-size: 1.2em;} +h5 {font-size: 1em;} +h6 {font-size: .8em;} + +h1 { + clear: both; + background-color: transparent; + padding-left: .25em; + margin-bottom: 1em; +} + +h1 a,h2 a { + background-color: transparent; + text-decoration: none; +} + +h1 a:hover,h2 a:hover,h1 a:focus,h2 a:focus,h1 a:active,h2 a:active { + background-color: transparent; + text-decoration: underline; + outline: none; +} + +h2, h3 { + background-color: transparent; + margin-bottom: .5em; +} + +/* ==================== Style for images ==================== */ +img { + border: 0 !important; +} + +img.xo-icons { + margin-bottom: -3px; +} + +p img { + margin-left: .5em; + margin-right: .5em; +} + +a img:hover,a img:focus { + opacity: .5; + filter: alpha(opacity = 50); +} + +a img { + border: none; +} + +.imgsmile { + padding: 0 !important; + border: 0 !important; + margin-bottom: -2px !important; +} + +img.xo-icons { + margin-bottom: -3px; +} + +img.ui-datepicker-trigger { + margin: 3px; +} + +/*================ Style for Quotes ================*/ +blockquote { + display: block; + width: 95%; + margin-right: 2em; + background-color: #FAFAFA; + padding: .5em; + color: #444; + line-height: 125%; + font-size: 11px; + text-align: justify; + border: 1px dashed #c2cdd6; +} + +.xoopsQuote { + +} + +q,cite { + font-style: italic; +} + +q cite,q q { + font-style: normal; +} + +/* delete auto dobble quotes */ +q { + quotes: none; +} + +q:before,q:after { + content: ""; /* for Safari/Chrome */ +} + +/*================== Style for Codes =================*/ +.xoopsCode { + display: block; + width: 95%; + max-height: 400px; + overflow: auto; + margin: .5em; + padding: .5em; + border-width: 1px 1px 1px 3px; + border-color: #c2cdd6; + border-style: solid; +} + +code { +} + +code,pre { + white-space: -pre-wrap /* for opera */; + white-space: pre-wrap; + word-wrap : break-word; +} + +/* ==================== Links for Quotes ==================== */ +.xoopsQuote a:link,.xoopsQuote a:visited { + color: #444; + font-weight: bold; + background-color: transparent; +} + +.xoopsQuote a:hover,.xoopsQuote a:active { + color: #1778cb; + background-color: transparent; +} + +/* ==================== Redirect messages ==================== */ +.errorMsg { + background: #FBE3E4; + color: #D12F19; + text-align: center; + border: 2px solid #FBC2C4; + padding: 8px; + font-weight: bold; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + line-height: 140%; +} + +.confirmMsg { + background-color: #f3f3f3 !important; + color: #262F2E !important; + text-align: center; + border: 2px solid #ccc !important; + font-weight: bold; + width: 60%; + min-height: 120px !important; + margin: 80px auto; + padding: 8px; + padding-top: 30px !important; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + -khtml-border-radius: 6px; + border-radius: 6px; + line-height: 190%; +} + +/* ==================== For redirect pages ====================*/ +.message,.notreload { + text-align: center; +} + +/* ==================== General small ==================== */ +.fontSmall { + font-size: 10px; + background-color: transparent; +} + +a.fontSmall { + color: #006699; +} + +a.fontSmall:hover { + color: #C23030; + text-decoration: underline; +} + +/*=============== styles for tables =================*/ +table { + margin: 0; + width: 100%; + border: none; + border-collapse: separate /*collapse*/; + border-spacing: 1px; +} + +th { + background-color: #2e323b; + color: #fff; + padding: 4px; + vertical-align: middle; +} + +.outer { + width: 99%; + border: 2px solid #ccc; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + -khtml-border-radius: 3px; + border-radius: 3px; + margin: 5px; +} + +.head { + background-color: #AFAFAF; + padding: 5px; + font-weight: bold; +} + +.even { + background-color: #EFEFEF; + padding: 5px; + border-bottom: 1px solid #ccc; +} + +.odd { + background-color: #DFDFDF; + padding: 5px; + border-bottom: 1px solid #ccc; +} + +.foot { + background-color: #E1E7EF; + padding: 5px; + font-weight: bold; +} + +tr.head td { + background-color: #BDE3FB; + padding: 5px; + font-weight: bold; +} + +tr.even td { + background-color: #fff; + padding: 5px; + border-bottom: 1px solid #ccc; +} + +tr.odd td { + background-color: #EFEFEF; + padding: 5px; + border-bottom: 1px solid #ccc; +} + +tr.foot td { + background-color: #E1E7EF; + padding: 5px; + font-weight: bold; +} + +td.head {max-width: 300px !important;} +/*============= XOOPS Editors =============*/ +body.mceContentBody { + background-color: #fff; + background-image: none; + color: #333; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/dark.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/dark.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/dark.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,128 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ +body { + background-color: #EBE9E1; +} + +.outer { + border: 2px solid #CCCCCC; +} + +.head { + background-color: #AFAFAF; +} + +.even { + background-color: #EFEFEF; +} + +.odd { + background-color: #DFDFDF; +} + +#xo-logo-head { + background: url(../img/dark/dark-head.png) repeat-x; + border-bottom: 1px solid #000; +} + +#xo_globalnav { + background: url(../img/dark/dark-menu.png) repeat-x; + border-top: 1px solid #000; + border-bottom: 1px solid #ccc; +} + +#xo_globalnav ul.menu ul li a { + background: #5F5F5F; + color: #f7f7f7; +} + +#xo_globalnav ul.menu ul li a:hover { + background-color: #333; + color: #f7f7f7; +} + +#xo_globalnav ul.menu .menulink { + border: 1px solid #333; + color: #ccc; + background: url(../img/dark/dark-menu.png) repeat-x; +} + +#xo_globalnav ul.menu .menulink:hover,ul.menu .menuhover { + border: 1px solid #ccc; + background: #333; +} + +#xo_globalnav ul.menu .sub { + background: #5F5F5F url(../img/arrow-light.gif) 156px 8px no-repeat; +} + +#choosestyle a { + border: 1px solid #CCCCCC; + background-color: #f9f9f9; + color: #333; +} + +#xo-body { + background-color: #F7F7F7; + border: 2px solid #ccc; +} + +#xo-nav-options { + background: url(../img/dark/dark-navcp.png) repeat-x; + border-top: 1px solid #000; + border-bottom: 1px solid #000; +} + +#xo-nav-options a { + border: 1px solid #00536C; +} + +#xo-nav-options a:hover { + background-color: #E0E6EF; + border-color: #ADD8E6; +} + +#xo-nav-options .modname { + color: #1d1f24; +} + +#xo-footer { + background-color: #333; + color: #f7f7f7; +} + +#xo-icon a { + background-color: #f0f0f0; + color: #666666; + border: 1px solid #f9f9f9; +} + +#xo-module-icons a { + background-color: #f0f0f0; + color: #666666; + border: 1px solid #f9f9f9; +} + +#xo-icon a:hover,#xo-module-icons a:hover { + color: #1E90FF; + border-left: 1px solid #eee; + border-top: 1px solid #eee; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + background: #f9f9f9; +} + +#main-logo a { + background: url(../img/dark/header-logo_big.png) no-repeat !important + ; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/dashboard.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/dashboard.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/dashboard.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,99 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ + +#xo-body-contain { + padding: 0; + margin: 0; +} + +#xo-body { + margin: 0 auto; + background-color: #F7F7F7; + border: 2px solid #ccc; + padding: 8px; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + -khtml-border-radius: 6px; + border-radius: 6px; + margin: 20px !important; +} + +#xo-index { + width: 100%; + border: 0; + min-height: 200px; + clear: both; +} + +#xo-index-bottom { + width: 100%; + border: 0; + clear: both; +} + +#xo-body-icons { + width: 66%; + float: left; +} + +#xo-tabs { + width: 32%; + float: right; +} + +#xo-modules { + width: 66%; + float: left; +} + +#xo-accordion { + width: 32%; + float: right; +} + +#xo-content { + clear: both; +} + +.xo-title { + font-size: 12px; + color: #606060; + background-position: left top; + background-repeat: no-repeat; + font-weight: bold; + height: 30px; + vertical-align: middle; + padding: 10px 40px 0 40px; + border-bottom: 3px solid #393e41; + font-weight: bold; + margin-bottom: 10px; +} + +#xo-title-modules { + background-image: url(../img/modules.png); +} + +#xo-title-icons { + background-image: url(../img/cp.png); +} + +#xo-title-accordion { + background-image: url(../img/brightside.png); +} + +.xo-index-option { + padding: 4px; + vertical-align: top; +} +#xo-module-log {text-align: center;} +.logger {margin: 1em auto !important; text-align: left;} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/footer.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/footer.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/footer.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,48 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ + +#xo-footer { + padding: 10px; + background-color: #333; + background: -moz-linear-gradient(center bottom, rgb(79,74,74) 0%, rgb(51,51,51) 100%); + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(79,74,74)), color-stop(1, rgb(51,51,51))); + background: -khtml-gradient(linear, left bottom, left top, color-stop(0, rgb(79,74,74)), color-stop(1, rgb(51,51,51))); + border-top: 2px solid #afafaf; + text-align: center; + font-size: 10px; + font-weight: bold; + color: #f7f7f7; + height: 65px; +} + +#xo-footer a { color: #D5AE14; background-color: transparent;} + +#xo-footer a:hover { color: #f7f7f7; text-decoration: none; background-color: transparent;} + +#xo-footer-body { height: 20px; margin: 10px auto; width: 500px;} + +#xo-footer-rss { + display: block; + float: left; + margin-left: 50px; + margin-top: -40px; + text-align: left; +} + +#xo-uptop { + display: block; + float: right; + margin-right: 50px; + margin-top: -30px; + text-align: right; +} Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/forms.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/forms.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/forms.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,129 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ /*======= forms ========*/ +input,button,select { + vertical-align: middle; +} + +fieldset { + margin: .5em; + padding: 1em; + border: 1px solid #333; + color: #000; + background-color: #f0f0f0; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + -khtml-border-radius: 6px; + border-radius: 6px; +} + +legend { + padding: .5em; + font-size: 1.1em; + font-weight: bolder; +} + +label,.caption-text { + margin-bottom: .5em; + padding-right: .5em; + font-weight: bold; +} + +select { + background-color: #f7f7f7; + color: #333; + font-size: 1em; + border: 2px inset #f1f3f8 !important; +} + +select[name=timezone_offset] { + font-size: 1em; +} + +textarea { + width: 95%; + max-height: 300px; + overflow: auto; +} + +input[type=submit],input[type=reset],input[type=button],.xo-formbuttons,.formButton,button + { + margin: 2px 5px 2px 5px; + background-color: #D3D2D6; + padding: 4px 8px; + color: #405A80; + font-size: 1em; + font-weight: bold; + border: 1px solid #ccc; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -khtml-border-radius: 5px; + box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -khtml-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + cursor: pointer; +} + +input[type=submit]:hover,input[type=reset]:hover,input[type=button]:hover,.xo-formbuttons:hover,.formButton:hover,button:hover + { + background-color: #E6EBFF; + padding: 4px 8px; + color: inherit; + cursor: pointer; +} + +input[type=text],input[type=password],input[type=checkbox],input[type=file],textarea + { + border: 1px solid #ccc; + margin: 2px 5px 2px 0; + padding: 2px; + background-color: #f7f7f7; + padding-left: .2em; + color: inherit; + border: #ccc solid 1px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -khtml-border-radius: 5px; + border-radius: 5px; + +} + +input[type=text],input[type=password],input[type=file] { + background-color: #f7f7f7; + color: #333; +} + +input[type=text]:hover,input[type=password]:hover,input[type=file]:hover,input[type=checkbox]:hover,textarea:hover + { + background-color: #EFEFEF; + color: inherit; + border: 1px solid #E9CB38; +} + +input[type=text]:focus,input[type=password]:focus,input[type=file]:focus,input[type=checkbox]:focus,textarea:focus + { + background-color: #F4FAFF; + color: #333; + border: #139EE8 solid 1px; + outline: 1px solid #139EE8; + -moz-outline-radius: 5px; + -webkit-outline-radius: 5px; + -khtml-outline-radius: 5px; + border-outline: 5px; +} + +input[type=checkbox],input[type=radio] { + margin: 3px; + padding: 2px; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/globalnav.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/globalnav.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/globalnav.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,109 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ + + +#xo_globalnav { + background: url(../img/dark/dark-menu.png) repeat-x; + /*padding: 4px;*/ + border-top: 1px solid #000; + border-bottom: 1px solid #ccc; + font-weight: normal; + font-family: tahoma, Helvetica, sans-serif; + height: 28px; + list-style: none; +} + +#xo_globalnav ul.menu { + list-style: none; + margin: 0; + padding: 0; +} + +#xo_globalnav ul.menu * { + margin: 0; + padding: 0; +} + +#xo_globalnav ul.menu a { + display: block; + color: #1F1F1F; + text-decoration: none; +} + +#xo_globalnav ul.menu li { + position: relative; + float: left; + margin-right: 2px; + list-style: none; +} + +#xo_globalnav ul.menu ul { + position: absolute; + /*top: 26px;*/ /*deactivate test and fix */ + left: 0; + background: #d1d1d1; + display: none; + opacity: 0; +} + +#xo_globalnav ul.menu ul li { + position: relative; + border: 1px solid #aaa; + border-top: none; + width: 168px; + margin: 0; + list-style: none; +} + +#xo_globalnav ul.menu ul li a { + display: block; + padding: 3px 7px 5px; + background: #5F5F5F; + color: #f7f7f7; + /*background: #ddd no-repeat left; + padding-left: 20px;*/ +} + +#xo_globalnav ul.menu ul li a:hover { + background-color: #333; + color: #f7f7f7; +} + +#xo_globalnav ul.menu ul ul { + left: 168px; + top: -1px; + list-style: none; +} + +#xo_globalnav ul.menu .menulink { + border: 1px solid #333; + padding: 5px 7px 4px; + font-weight: bold; + color: #ccc; + background: url(../img/dark/dark-menu.png) repeat-x; + width: 154px; +} + +#xo_globalnav ul.menu .menulink:hover,ul.menu .menuhover { + border: 1px solid #ccc; + background: #333; +} + +#xo_globalnav ul.menu .sub { + background: #5F5F5F url(../img/arrow.gif) 156px 8px no-repeat; + /*padding-left: 3px;*/ +} + +#xo_globalnav ul.menu .topline { + border-top: 1px solid #aaa; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/icons.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/icons.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/icons.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,120 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ + +#xo-system-icons { + height: 200px; +} + +#xo-module-icons,#xo-icon { + margin: 3px; + font-family: tahoma, Helvetica, sans-serif; + text-align: center; +} + +#xo-module-icons { + min-height: 250px; +} + +#xo-icon a { + display: block; + float: left; + height: 75px !important; + width: 70px !important; + vertical-align: middle; + text-decoration: none; + background-color: #f0f0f0; + padding: 2px; + margin: 3px; + color: #666666; + border: 1px solid #f9f9f9; + -moz-border-radius: 9px; + -webkit-border-radius: 9px; + -khtml-border-radius: 9px; + border-radius: 9px; + box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -khtml-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; +} + +#xo-module-icons a { + display: block; + float: left; + height: 80px !important; + width: 80px !important; + vertical-align: middle; + text-decoration: none; + background-color: #f0f0f0; + padding: 2px 5px 1px 5px; + margin: 3px; + color: #666666; + border: 1px solid #f9f9f9; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + -khtml-border-radius: 6px; + border-radius: 6px; + box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -khtml-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; +} + +#xo-icon a:hover,#xo-module-icons a:hover { + color: #1E90FF; + border-left: 1px solid #eee; + border-top: 1px solid #eee; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + background: #f9f9f9; + filter: alpha(opacity = 80); + -moz-opacity: 0.8; + -webkit-opacity: 0.8; + -khtml-opacity: 0.8; + opacity: 0.8; + box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; + -khtml-box-shadow: 0 20px 10px -10px rgba(255, 255, 255, 0.3) inset; +} + +#xo-icon img{ + margin-top: 8px; + margin-bottom: 8px; +} + +#xo-module-icons img { + margin-top: 8px; + margin-bottom: 8px; + max-width: 70px !important; +} + +#xo-icon span,#xo-module-icons span { + font-size: 10px; + font-weight: bold; + display: block; +} + +#xo-icon span.uno,#xo-module-icons span.uno { + font-size: 11px; + font-weight: normal; + text-decoration: underline; + color: Blue; +} + +#xo-icon span.unor,#xo-module-icons span.unor { + font-size: 11px; + font-weight: normal; + text-decoration: underline; + color: #CC0000; +} + Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/index.html 2015-03-04 12:35:29 UTC (rev 13007) @@ -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/system/themes/default/assets/css/logger.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/logger.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/logger.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,35 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ +#xo-logger-errors, #xo-logger-deprecated, #xo-logger-queries, #xo-logger-blocks, +#xo-logger-extra, #xo-logger-timers{ + max-width: 95% !important; +} +#xo-logger-output { + margin: 0 auto !important; +} +#xo-logger-tabs { + background-color: #4E4949; + padding-top: 8px; + padding-bottom: 8px; + margin-top: -2px; + padding-left: 2%; + padding-right: 2%; + width: 96% !important; + +} +#xo-logger-errors {} +#xo-logger-deprecated {} +#xo-logger-queries {} +#xo-logger-blocks {} +#xo-logger-extra {} +#xo-logger-timers {} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/orange.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/orange.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/orange.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,129 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ +body { + background-color: #EBE7E1; +} + +.outer { + border: 2px solid #CCCCCC; +} + +.head { + background-color: #AFAFAF; +} + +.even { + background-color: #EFEFEF; +} + +.odd { + background-color: #DFDFDF; +} + +#xo-logo-head { + background: url(../img/orange/dark-head.png) repeat-x; + border-bottom: 1px solid #000; +} + +#xo_globalnav { + background: url(../img/orange/dark-menu.png) repeat-x; + border-top: 1px solid #000; + border-bottom: 1px solid #ccc; +} + +#xo_globalnav ul.menu ul li a { + background: #5F5F5F; + color: #f7f7f7; +} + +#xo_globalnav ul.menu ul li a:hover { + background-color: #333; + color: #f7f7f7; +} + +#xo_globalnav ul.menu .menulink { + border: 1px solid #333; + color: #ccc; + background: url(../img/orange/dark-menu.png) repeat-x; +} + +#xo_globalnav ul.menu :hover .menulink,ul.menu .menuhover { + border: 1px solid #ccc; + background: #333; +} + +#xo_globalnav ul.menu .sub { + background: #5F5F5F url(../img/arrow-light.gif) 136px 8px no-repeat; +} + +#choosestyle a { + border: 1px solid #CCCCCC; + background-color: #f9f9f9; + color: #333; +} + +#xo-body{ + background-color: #F7F7F7; + border: 2px solid #ccc; +} + +#xo-nav-options { + background: url(../img/orange/dark-navcp.png) repeat-x; + border-top: 1px solid #f9a828; + border-bottom: 1px solid #f9a828; +} + +#xo-nav-options a { + border: 1px solid #FFB24F; +} + +#xo-nav-options a:hover { + background-color: #E0E6EF; + border-color: #ADD8E6; +} + +#xo-nav-options .modname { + color: #1d1f24; +} + +#xo-footer { + background-color: #333; + color: #f7f7f7; +} + +#xo-icon a { + background-color: #f0f0f0; + color: #666666; + border: 1px solid #f9f9f9; +} + +#xo-module-icons a { + background-color: #f0f0f0; + color: #666666; + border: 1px solid #f9f9f9; +} + +#xo-icon a:hover,#xo-module-icons a:hover { + color: #1E90FF; + border-left: 1px solid #eee; + border-top: 1px solid #eee; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + background: #f9f9f9; +} + +#main-logo a { + background: url(../img/orange/header-logo_big.png) no-repeat + !important; +} +#xo-modname { color: #FBFBFB;} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/pagenav.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/pagenav.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/assets/css/pagenav.css 2015-03-04 12:35:29 UTC (rev 13007) @@ -0,0 +1,78 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ +#xo-pagenav { + margin: 7px 0; + text-align: center; + font-size: 1.05em; +} + +#xo-pagenav a { + margin: 2px; + background-color: #D3D2D6; + padding: 4px 8px 4px 8px; + color: #405A80; + font-size: 1em; + font-weight: bold; + border: 1px solid #ccc; +... [truncated message content] |
From: <txm...@us...> - 2015-03-08 14:32:59
|
Revision: 13011 http://sourceforge.net/p/xoops/svn/13011 Author: txmodxoops Date: 2015-03-08 14:32:56 +0000 (Sun, 08 Mar 2015) Log Message: ----------- Updated Fixed bugs Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/smarty/plugins/function.breadcrumbs.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/assets/css/dashboard.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_header.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_footer.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/header.html Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/constants.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/menu.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/assets/css/logger.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_sidenav.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/holder.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/xoops_version.php Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/smarty/plugins/function.breadcrumbs.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/smarty/plugins/function.breadcrumbs.php 2015-03-07 16:47:59 UTC (rev 13010) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/smarty/plugins/function.breadcrumbs.php 2015-03-08 14:32:56 UTC (rev 13011) @@ -24,8 +24,9 @@ * * @version 1.0 * @author Txmod Xoops - <txmodxoops at gmail dot org | www.txmodxoops.org> -* @param array -* @param Smarty +* +* @param params +* @param smarty * @return string */ Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin.php 2015-03-08 14:32:56 UTC (rev 13011) @@ -0,0 +1,194 @@ +<?php +/** + * System constants file + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @version $Id: admin.php 12033 2013-09-14 03:16:44Z beckmi $ + * @revision $Id: admin.php 13008 2015-03-08 13:42:22Z timgno $ + */ + +// Include header +include 'header.php'; + +if ( isset($fct) && $fct == 'users' ) { + $xoopsOption['pagetype'] = 'user'; +} + +$error = false; +if ($admintest != 0) { + if (isset($fct) && $fct != '') { + $fct = preg_replace("/[^a-z0-9_\-]/i", "", $fct); + if ( file_exists( XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar( 'dirname', 'n' ) . '/admin/' . $fct . '/xoops_version.php' ) ) { + // Load language file + system_loadLanguage( $fct, $xoopsModule->getVar( 'dirname', 'n' ) ); + // Include Configuration file + require XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar( 'dirname', 'n' ) . '/admin/' . $fct . '/xoops_version.php'; + // Get System permission handler + $sysperm_handler =& xoops_gethandler('groupperm'); + + $category = !empty($modversion['category']) ? intval($modversion['category']) : 0; + unset($modversion); + + if ($category > 0) { + $group = $xoopsUser->getGroups(); + if ( in_array( XOOPS_GROUP_ADMIN, $group) || false != $sysperm_handler->checkRight( 'system_admin', $category, $group, $xoopsModule->getVar('mid') ) ) { + if ( file_exists( XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar( 'dirname', 'n' ) . '/admin/' . $fct . '/main.php' ) ) { + include_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar( 'dirname', 'n' ) . '/admin/' . $fct . '/main.php'; + } else { + $error = true; + } + } else { + $error = true; + } + } elseif ($fct == 'version') { + if ( file_exists( XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar( 'dirname', 'n' ) . '/admin/version/main.php' ) ) { + include_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar( 'dirname', 'n' ) . '/admin/version/main.php'; + } else { + $error = true; + } + } else { + $error = true; + } + } else { + $error = true; + } + } else { + $error = true; + } +} + +if (false != $error) { + + $op = system_CleanVars ( $_REQUEST, 'op', '', 'string' ); + if ( $op == 'system_activate') { + $part = system_CleanVars ( $_REQUEST, 'type', '', 'string' ); + $config_handler = xoops_gethandler('config'); + + $criteria = new Criteria('conf_name', 'active_' . $part); + $configs = $config_handler->getConfigs( $criteria ); + foreach ($configs as $conf) { + if ( $conf->getVar('conf_name') == 'active_' . $part) { + $conf->setVar('conf_value', !$conf->getVar('conf_value') ); + $config_handler->insertConfig($conf); + } + } + exit; + } + // Define main template + $xoopsOption['template_main'] = 'system_index.html'; + xoops_cp_header(); + // Define Stylesheet + $xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/admin.css' ); + // ======== Append libraries directly on footer templates of the admin theme ============ + // Define scripts + //$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); + //$xoTheme->addScript('modules/system/js/admin.js'); + // ======== ================================================================ ============ + // Define Breadcrumb and tips + $xoBreadCrumb->addLink( _AM_SYSTEM_CONFIG ); + $xoBreadCrumb->addTips( _AM_SYSTEM_TIPS_MAIN ); + $xoBreadCrumb->render(); + $groups = $xoopsUser->getGroups(); + $all_ok = false; + if (!in_array(XOOPS_GROUP_ADMIN, $groups)) { + $sysperm_handler =& xoops_gethandler('groupperm'); + $ok_syscats = $sysperm_handler->getItemIds('system_admin', $groups); + } else { + $all_ok = true; + } + + xoops_load('xoopslists'); + + $admin_dir = XOOPS_ROOT_PATH . '/modules/system/admin'; + $dirlist = XoopsLists::getDirListAsArray($admin_dir); + $inactive_section = array( 'blocksadmin', 'groups', 'modulesadmin', 'preferences', 'tplsets'); + foreach($dirlist as $directory) { + if ( file_exists( $admin_dir . '/' . $directory . '/xoops_version.php' ) ) { + + require $admin_dir . '/' . $directory . '/xoops_version.php'; + + if ($modversion['hasAdmin']) { + + if ( xoops_getModuleOption('active_' . $directory) ) { + $category = isset($modversion['category']) ? intval($modversion['category']) : 0; + if ( false != $all_ok || in_array($modversion['category'], $ok_syscats)) { + $menu['file'] = $directory; + $menu['title'] = trim($modversion['name']); + $menu['desc'] = str_replace('<br />', ' ', $modversion['description']); + $menu['icon'] = $modversion['image']; + $menu['status'] = true; + } + } else { + $category = isset($modversion['category']) ? intval($modversion['category']) : 0; + if ( false != $all_ok || in_array($modversion['category'], $ok_syscats)) { + $menu['file'] = $directory; + $menu['title'] = trim($modversion['name']); + $menu['desc'] = str_replace('<br />', ' ', $modversion['description']); + $menu['icon'] = $modversion['image']; + $menu['status'] = false; + } + } + if (!in_array($directory, $inactive_section)) { + $menu['used'] = true; + } + if ( false != $all_ok || in_array($modversion['category'], $ok_syscats)) { + switch ( $directory ) { + case 'avatars': + $avatar_handler = xoops_getHandler('avatar'); + $avatar = $avatar_handler->getCount(); + $menu['infos'] = sprintf(_AM_SYSTEM_AVATAR_INFO, $avatar); + break; + case 'banners': + $banner_handler =& xoops_getModuleHandler( 'banner', 'system' ); + $banner = $banner_handler->getCount(); + $menu['infos'] = sprintf(_AM_SYSTEM_BANNER_INFO, $banner); + break; + case 'comments': + $comment_handler =& xoops_gethandler('comment'); + $comment = $comment_handler->getCount(); + $menu['infos'] = sprintf(_AM_SYSTEM_COMMENT_INFO, $comment); + break; + case 'groups': + $groups_Handler =& xoops_getModuleHandler( 'group', 'system' ); + $groups = $groups_Handler->getCount(); + $menu['infos'] = sprintf(_AM_SYSTEM_GROUP_INFO, $groups); + break; + case 'images': + $imgcat_handler = xoops_gethandler('image'); + $img = $imgcat_handler->getCount(); + $menu['infos'] = sprintf(_AM_SYSTEM_IMG_INFO, $img); + break; + case 'smilies': + $smilies_Handler =& xoops_getModuleHandler( 'smilies', 'system' ); + $smilies = $smilies_Handler->getCount(); + $menu['infos'] = sprintf(_AM_SYSTEM_SMILIES_INFO, $smilies); + break; + case 'userrank': + $userrank_Handler =& xoops_getModuleHandler( 'userrank', 'system' ); + $userrank = $userrank_Handler->getCount(); + $menu['infos'] = sprintf(_AM_SYSTEM_RANKS_INFO, $userrank); + break; + case 'users': + $member_handler =& xoops_getModuleHandler('users', 'system'); + $member = $member_handler->getCount(); + $menu['infos'] = sprintf(_AM_SYSTEM_USERS_INFO, $member); + break; + } + } + $xoopsTpl->append_by_ref( 'menu', $menu ); + unset( $menu ); + } + unset($modversion); + } + } + unset($dirlist); + xoops_cp_footer(); +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/constants.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/constants.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/constants.php 2015-03-08 14:32:56 UTC (rev 13011) @@ -0,0 +1,41 @@ +<?php +/** + * System constants file + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @version $Id: constants.php 12033 2013-09-14 03:16:44Z beckmi $ + * @revision $Id: constants.php 13008 2015-03-08 13:41:30Z timgno $ + */ + +define('XOOPS_SYSTEM_GROUP', 1); +define('XOOPS_SYSTEM_USER', 2); +define('XOOPS_SYSTEM_PREF', 3); +define('XOOPS_SYSTEM_MODULE', 4); +define('XOOPS_SYSTEM_BLOCK', 5); +define('XOOPS_SYSTEM_FINDU', 7); +define('XOOPS_SYSTEM_MAILU', 8); +define('XOOPS_SYSTEM_IMAGE', 9); +define('XOOPS_SYSTEM_AVATAR', 10); +define('XOOPS_SYSTEM_URANK', 11); +define('XOOPS_SYSTEM_SMILE', 12); +define('XOOPS_SYSTEM_BANNER', 13); +define('XOOPS_SYSTEM_COMMENT', 14); +define('XOOPS_SYSTEM_TPLSET', 15); +define('XOOPS_SYSTEM_FILEMANAGER', 16); +define('XOOPS_SYSTEM_MAINTENANCE', 17); +// Configuration Category +define('SYSTEM_CAT_MAIN', 0 ); +define('SYSTEM_CAT_USER', 1 ); +define('SYSTEM_CAT_META', 2 ); +define('SYSTEM_CAT_WORD', 3 ); +define('SYSTEM_CAT_SEARCH', 4 ); +define('SYSTEM_CAT_MAIL', 5 ); +define('SYSTEM_CAT_AUTH', 6 ); \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/menu.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/menu.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/menu.php 2015-03-08 14:32:56 UTC (rev 13011) @@ -0,0 +1,52 @@ +<?php +/** + * System menu file + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @version $Id: menu.php 12036 2013-09-14 04:58:55Z beckmi $ + * @revision $Id: menu.php 13008 2015-03-08 13:55:25Z timgno $ + */ + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +$groups = $GLOBALS['xoopsUser']->getGroups(); +$all_ok = false; +if (!in_array(XOOPS_GROUP_ADMIN, $groups)) { + $sysperm_handler =& xoops_gethandler('groupperm'); + $ok_syscats = $sysperm_handler->getItemIds('system_admin', $groups); +} else { + $all_ok = true; +} +require_once $GLOBALS['xoops']->path( '/class/xoopslists.php' ); +// include system category definitions +include_once $GLOBALS['xoops']->path( '/modules/system/constants.php' ); + +$admin_dir = $GLOBALS['xoops']->path( '/modules/system/admin' ); +$dirlist = XoopsLists::getDirListAsArray( $admin_dir ); +$index = 0; +foreach ($dirlist as $file) { + if ( file_exists( $admin_dir . '/' . $file . '/xoops_version.php' ) ) { + include $admin_dir . '/' . $file . '/xoops_version.php'; + if ($modversion['hasAdmin']) { + if ( xoops_getModuleOption( 'active_' . $file, 'system' ) ) { + $category = isset( $modversion['category'] ) ? intval( $modversion['category'] ) : 0; + if ( false != $all_ok || in_array( $modversion['category'], $ok_syscats ) ) { + $adminmenu[$index]['title'] = trim( $modversion['name'] ); + $adminmenu[$index]['link'] = 'admin.php?fct=' . $file; + $adminmenu[$index]['image'] = $modversion['image']; + } + } + } + unset($modversion); + } + $index++; +} +unset($dirlist); \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/assets/css/dashboard.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/assets/css/dashboard.css 2015-03-07 16:47:59 UTC (rev 13010) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/assets/css/dashboard.css 2015-03-08 14:32:56 UTC (rev 13011) @@ -1,17 +1,21 @@ +/* + * Dashboard Responsive Admin Theme + * + * @copyright Txmod Xoops <http://www.txmodxoops.org/> - Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Txmod Xoops <http://www.txmodxoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id 1.0 +*/ +/* ==================== Import others style cheats ==================== */ +@import url(logger.css); -/*============================================================= - Authour URI: www.binarycart.com - License: Commons Attribution 3.0 +/* ==================== General definitions ==================== */ +html { } - http://creativecommons.org/licenses/by/3.0/ - - 100% To use For Personal And Commercial Use. - IN EXCHANGE JUST GIVE US CREDITS AND TELL YOUR FRIENDS ABOUT US - - ======================================================== */ -/*============================================== - GENERAL STYLES - =============================================*/ body { font-family: 'Open Sans', sans-serif; } @@ -23,11 +27,11 @@ #page-wrapper { padding: 10px 10px; - min-height: 400px; + min-height: 380px; z-index: 1; box-shadow: 0 0 3px #131313; - padding-bottom: 80px !important; - margin-bottom: -78px !important; + padding-bottom: 70px !important; + margin-bottom: -68px !important; overflow: hidden; -webkit-transition: 0.2s; -moz-transition: 0.2s; @@ -42,7 +46,7 @@ margin:2px 7px 2px 0px; background-color:#fff!important; padding:8px; - min-height:800px; + min-height:780px; } #logout { Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/assets/css/logger.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/assets/css/logger.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/assets/css/logger.css 2015-03-08 14:32:56 UTC (rev 13011) @@ -0,0 +1,43 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ +#xo-logger-errors, #xo-logger-deprecated, #xo-logger-queries, #xo-logger-blocks, +#xo-logger-extra, #xo-logger-timers{ + max-width: 95% !important; +} +#xo-logger-output { + margin: 0 auto !important; + background-color: #f0f0f0; +} +#xo-logger-tabs { + background-color: #8E8C8C; + padding-top: 8px; + padding-bottom: 8px; + margin-top: -2px; + padding-left: 2%; + padding-right: 2%; + width: 100% !important; +} +#xo-logger-tabs a { + color: #00008C; + background-color: #FEFCFC; +} +#xo-logger-tabs a:hover { + color: #f0f08C; + background-color: inherit; +} +#xo-logger-errors {} +#xo-logger-deprecated {} +#xo-logger-queries {} +#xo-logger-blocks {} +#xo-logger-extra {} +#xo-logger-timers {} \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.html 2015-03-07 16:47:59 UTC (rev 13010) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.html 2015-03-08 14:32:56 UTC (rev 13011) @@ -6,6 +6,7 @@ <body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> <div id="wrapper"> <{includeq file="$theme_tpl/theme_header.html"}> + <{includeq file="$theme_tpl/theme_sidenav.html"}> <{includeq file="$theme_tpl/theme_page.html" }> <{includeq file="$theme_tpl/theme_footer.html"}> </div><{* /#wrapper *}> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_header.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_header.html 2015-03-07 16:47:59 UTC (rev 13010) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_header.html 2015-03-08 14:32:56 UTC (rev 13011) @@ -31,21 +31,12 @@ </ul> </li> <{/foreach}> - </ul> + </ul> <div id="logout"> + <{* Date Time Now *}> + <{$smarty.now|date_format:"%Y-%m-%d %H:%M:%S"}> <a href="<{xoAppUrl /}>" class="btn btn-success square-btn-adjust"><i class="fa fa-home fa-sm"></i> <{$smarty.const._YOURHOME}></a> <a href="<{xoAppUrl user.php?op=logout}>" class="btn btn-danger square-btn-adjust"><i class="fa fa-power-off fa-sm"></i> <{$smarty.const._LOGOUT}></a> </div> </div> - </nav> - <!-- /. NAV TOP --> - <nav class="navbar-default navbar-side" role="navigation"> - <div class="sidebar-collapse"> - <ul class="nav" id="main-menu"> - <li> - <a class="active-menu" href="<{xoAppUrl admin.php}>"><i class="fa fa-dashboard fa-2x"></i> Dashboard</a> - </li> - </ul> - </div> - </nav> - <!-- /. NAV SIDE --> \ No newline at end of file + </nav><!-- /. NAV TOP --> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_sidenav.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_sidenav.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_sidenav.html 2015-03-08 14:32:56 UTC (rev 13011) @@ -0,0 +1,10 @@ + <nav class="navbar-default navbar-side" role="navigation"> + <div class="sidebar-collapse"> + <ul class="nav" id="main-menu"> + <li> + <a class="active-menu" href="<{xoAppUrl admin.php}>"><i class="fa fa-dashboard fa-2x"></i> Dashboard</a> + </li> + </ul> + </div> + </nav> + <!-- /. NAV SIDE --> \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_footer.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_footer.html 2015-03-07 16:47:59 UTC (rev 13010) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_footer.html 2015-03-08 14:32:56 UTC (rev 13011) @@ -1,5 +1,5 @@ <div id='xo-footer'> <div id="xo-footer-body">Powered by <a class="tooltip" rel="external" href="http://sourceforge.net/projects/xoops/" title="Xoops Project"><{$xoops_version}></a> © 2001-<{$smarty.now|date_format:"%Y"}></div> - <div id="xo-footer-rss" ><a class="tooltip" rel="external" href="<{xoAppUrl backend.php}>" title="<{$smarty.const._OXYGEN_RSS}>"><img src="<{xoImgUrl img/feed.png}>" /></a></div> + <div id="xo-footer-rss" ><a class="tooltip" rel="external" href="<{xoAppUrl backend.php}>" title="<{$smarty.const._OXYGEN_RSS}>"><img src="<{xoImgUrl assets/img/feed.png}>" /></a></div> <div><{includeq file="$theme_tpl/xo_uptop.html"}></div> </div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/holder.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/holder.js (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/holder.js 2015-03-08 14:32:56 UTC (rev 13011) @@ -0,0 +1,401 @@ +/* + +Holder - 1.9 - client side image placeholders +(c) 2012-2013 Ivan Malopinsky / http://imsky.co + +Provided under the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0 +Commercial use requires attribution. + +*/ + +var Holder = Holder || {}; +(function (app, win) { + +var preempted = false, +fallback = false, +canvas = document.createElement('canvas'); + +//getElementsByClassName polyfill +document.getElementsByClassName||(document.getElementsByClassName=function(e){var t=document,n,r,i,s=[];if(t.querySelectorAll)return t.querySelectorAll("."+e);if(t.evaluate){r=".//*[contains(concat(' ', @class, ' '), ' "+e+" ')]",n=t.evaluate(r,t,null,0,null);while(i=n.iterateNext())s.push(i)}else{n=t.getElementsByTagName("*"),r=new RegExp("(^|\\s)"+e+"(\\s|$)");for(i=0;i<n.length;i++)r.test(n[i].className)&&s.push(n[i])}return s}) + +//getComputedStyle polyfill +window.getComputedStyle||(window.getComputedStyle=function(e,t){return this.el=e,this.getPropertyValue=function(t){var n=/(\-([a-z]){1})/g;return t=="float"&&(t="styleFloat"),n.test(t)&&(t=t.replace(n,function(){return arguments[2].toUpperCase()})),e.currentStyle[t]?e.currentStyle[t]:null},this}) + +//http://javascript.nwbox.com/ContentLoaded by Diego Perini with modifications +function contentLoaded(n,t){var l="complete",s="readystatechange",u=!1,h=u,c=!0,i=n.document,a=i.documentElement,e=i.addEventListener?"addEventListener":"attachEvent",v=i.addEventListener?"removeEventListener":"detachEvent",f=i.addEventListener?"":"on",r=function(e){(e.type!=s||i.readyState==l)&&((e.type=="load"?n:i)[v](f+e.type,r,u),!h&&(h=!0)&&t.call(n,null))},o=function(){try{a.doScroll("left")}catch(n){setTimeout(o,50);return}r("poll")};if(i.readyState==l)t.call(n,"lazy");else{if(i.createEventObject&&a.doScroll){try{c=!n.frameElement}catch(y){}c&&o()}i[e](f+"DOMContentLoaded",r,u),i[e](f+s,r,u),n[e](f+"load",r,u)}}; + +//https://gist.github.com/991057 by Jed Schmidt with modifications +function selector(a){ + a=a.match(/^(\W)?(.*)/);var b=document["getElement"+(a[1]?a[1]=="#"?"ById":"sByClassName":"sByTagName")](a[2]); + var ret=[]; b!=null&&(b.length?ret=b:b.length==0?ret=b:ret=[b]); return ret; +} + +//shallow object property extend +function extend(a,b){var c={};for(var d in a)c[d]=a[d];for(var e in b)c[e]=b[e];return c} + +//hasOwnProperty polyfill +if (!Object.prototype.hasOwnProperty) + Object.prototype.hasOwnProperty = function(prop) { + var proto = this.__proto__ || this.constructor.prototype; + return (prop in this) && (!(prop in proto) || proto[prop] !== this[prop]); + } + +function text_size(width, height, template) { + var dimension_arr = [height, width].sort(); + var maxFactor = Math.round(dimension_arr[1] / 16), + minFactor = Math.round(dimension_arr[0] / 16); + var text_height = Math.max(template.size, maxFactor); + return { + height: text_height + } +} + +function draw(ctx, dimensions, template, ratio) { + var ts = text_size(dimensions.width, dimensions.height, template); + var text_height = ts.height; + var width = dimensions.width * ratio, height = dimensions.height * ratio; + var font = template.font ? template.font : "sans-serif"; + canvas.width = width; + canvas.height = height; + ctx.textAlign = "center"; + ctx.textBaseline = "middle"; + ctx.fillStyle = template.background; + ctx.fillRect(0, 0, width, height); + ctx.fillStyle = template.foreground; + ctx.font = "bold " + text_height + "px "+font; + var text = template.text ? template.text : (dimensions.width + "x" + dimensions.height); + if (ctx.measureText(text).width / width > 1) { + text_height = template.size / (ctx.measureText(text).width / width); + } + //Resetting font size if necessary + ctx.font = "bold " + (text_height * ratio) + "px "+font; + ctx.fillText(text, (width / 2), (height / 2), width); + return canvas.toDataURL("image/png"); +} + +function render(mode, el, holder, src) { + var dimensions = holder.dimensions, + theme = holder.theme, + text = holder.text ? decodeURIComponent(holder.text) : holder.text; + var dimensions_caption = dimensions.width + "x" + dimensions.height; + theme = (text ? extend(theme, { text: text }) : theme); + theme = (holder.font ? extend(theme, {font: holder.font}) : theme); + + var ratio = 1; + if(window.devicePixelRatio && window.devicePixelRatio > 1){ + ratio = window.devicePixelRatio; + } + + if (mode == "image") { + el.setAttribute("data-src", src); + el.setAttribute("alt", text ? text : theme.text ? theme.text + " [" + dimensions_caption + "]" : dimensions_caption); + + if(fallback || !holder.auto){ + el.style.width = dimensions.width + "px"; + el.style.height = dimensions.height + "px"; + } + + if (fallback) { + el.style.backgroundColor = theme.background; + + } + else{ + el.setAttribute("src", draw(ctx, dimensions, theme, ratio)); + } + } else { + if (!fallback) { + el.style.backgroundImage = "url(" + draw(ctx, dimensions, theme, ratio) + ")"; + el.style.backgroundSize = dimensions.width+"px "+dimensions.height+"px"; + } + } +}; + +function fluid(el, holder, src) { + var dimensions = holder.dimensions, + theme = holder.theme, + text = holder.text; + var dimensions_caption = dimensions.width + "x" + dimensions.height; + theme = (text ? extend(theme, { + text: text + }) : theme); + + var fluid = document.createElement("div"); + + fluid.style.backgroundColor = theme.background; + fluid.style.color = theme.foreground; + fluid.className = el.className + " holderjs-fluid"; + fluid.style.width = holder.dimensions.width + (holder.dimensions.width.indexOf("%")>0?"":"px"); + fluid.style.height = holder.dimensions.height + (holder.dimensions.height.indexOf("%")>0?"":"px"); + fluid.id = el.id; + + el.style.width=0; + el.style.height=0; + + if (theme.text) { + fluid.appendChild(document.createTextNode(theme.text)) + } else { + fluid.appendChild(document.createTextNode(dimensions_caption)) + fluid_images.push(fluid); + setTimeout(fluid_update, 0); + } + + el.parentNode.insertBefore(fluid, el.nextSibling) + + if(window.jQuery){ + jQuery(function($){ + $(el).on("load", function(){ + el.style.width = fluid.style.width; + el.style.height = fluid.style.height; + $(el).show(); + $(fluid).remove(); + }); + }) + } +} + +function fluid_update() { + for (i in fluid_images) { + if(!fluid_images.hasOwnProperty(i)) continue; + var el = fluid_images[i], + label = el.firstChild; + + el.style.lineHeight = el.offsetHeight+"px"; + label.data = el.offsetWidth + "x" + el.offsetHeight; + } +} + +function parse_flags(flags, options) { + + var ret = { + theme: settings.themes.gray + }, render = false; + + for (sl = flags.length, j = 0; j < sl; j++) { + var flag = flags[j]; + if (app.flags.dimensions.match(flag)) { + render = true; + ret.dimensions = app.flags.dimensions.output(flag); + } else if (app.flags.fluid.match(flag)) { + render = true; + ret.dimensions = app.flags.fluid.output(flag); + ret.fluid = true; + } else if (app.flags.colors.match(flag)) { + ret.theme = app.flags.colors.output(flag); + } else if (options.themes[flag]) { + //If a theme is specified, it will override custom colors + ret.theme = options.themes[flag]; + } else if (app.flags.text.match(flag)) { + ret.text = app.flags.text.output(flag); + } else if(app.flags.font.match(flag)){ + ret.font = app.flags.font.output(flag); + } + else if(app.flags.auto.match(flag)){ + ret.auto = true; + } + } + + return render ? ret : false; + +}; + +if (!canvas.getContext) { + fallback = true; +} else { + if (canvas.toDataURL("image/png") + .indexOf("data:image/png") < 0) { + //Android doesn't support data URI + fallback = true; + } else { + var ctx = canvas.getContext("2d"); + } +} + +var fluid_images = []; + +var settings = { + domain: "holder.js", + images: "img", + bgnodes: ".holderjs", + themes: { + "gray": { + background: "#eee", + foreground: "#aaa", + size: 12 + }, + "social": { + background: "#3a5a97", + foreground: "#fff", + size: 12 + }, + "industrial": { + background: "#434A52", + foreground: "#C2F200", + size: 12 + } + }, + stylesheet: ".holderjs-fluid {font-size:16px;font-weight:bold;text-align:center;font-family:sans-serif;margin:0}" +}; + + +app.flags = { + dimensions: { + regex: /^(\d+)x(\d+)$/, + output: function (val) { + var exec = this.regex.exec(val); + return { + width: +exec[1], + height: +exec[2] + } + } + }, + fluid: { + regex: /^([0-9%]+)x([0-9%]+)$/, + output: function (val) { + var exec = this.regex.exec(val); + return { + width: exec[1], + height: exec[2] + } + } + }, + colors: { + regex: /#([0-9a-f]{3,})\:#([0-9a-f]{3,})/i, + output: function (val) { + var exec = this.regex.exec(val); + return { + size: settings.themes.gray.size, + foreground: "#" + exec[2], + background: "#" + exec[1] + } + } + }, + text: { + regex: /text\:(.*)/, + output: function (val) { + return this.regex.exec(val)[1]; + } + }, + font: { + regex: /font\:(.*)/, + output: function(val){ + return this.regex.exec(val)[1]; + } + }, + auto: { + regex: /^auto$/ + } +} + +for (var flag in app.flags) { + if(!app.flags.hasOwnProperty(flag)) continue; + app.flags[flag].match = function (val) { + return val.match(this.regex) + } +} + +app.add_theme = function (name, theme) { + name != null && theme != null && (settings.themes[name] = theme); + return app; +}; + +app.add_image = function (src, el) { + var node = selector(el); + if (node.length) { + for (var i = 0, l = node.length; i < l; i++) { + var img = document.createElement("img") + img.setAttribute("data-src", src); + node[i].appendChild(img); + } + } + return app; +}; + +app.run = function (o) { + var options = extend(settings, o), images = []; + + if(options.images instanceof window.NodeList){ + imageNodes = options.images; + } + else if(options.images instanceof window.Node){ + imageNodes = [options.images]; + } + else{ + imageNodes = selector(options.images); + } + + if(options.elements instanceof window.NodeList){ + bgnodes = options.bgnodes; + } + else if(options.bgnodes instanceof window.Node){ + bgnodes = [options.bgnodes]; + } + else{ + bgnodes = selector(options.bgnodes); + } + + preempted = true; + + for (i = 0, l = imageNodes.length; i < l; i++) images.push(imageNodes[i]); + + var holdercss = document.getElementById("holderjs-style"); + + if(!holdercss){ + holdercss = document.createElement("style"); + holdercss.setAttribute("id", "holderjs-style"); + holdercss.type = "text/css"; + document.getElementsByTagName("head")[0].appendChild(holdercss); + } + + if(holdercss.styleSheet){ + holdercss.styleSheet += options.stylesheet; + } + else{ + holdercss.textContent+= options.stylesheet; + } + + var cssregex = new RegExp(options.domain + "\/(.*?)\"?\\)"); + + for (var l = bgnodes.length, i = 0; i < l; i++) { + var src = window.getComputedStyle(bgnodes[i], null) + .getPropertyValue("background-image"); + var flags = src.match(cssregex); + if (flags) { + var holder = parse_flags(flags[1].split("/"), options); + if (holder) { + render("background", bgnodes[i], holder, src); + } + } + } + + for (var l = images.length, i = 0; i < l; i++) { + var src = images[i].getAttribute("src") || images[i].getAttribute("data-src"); + if (src != null && src.indexOf(options.domain) >= 0) { + var holder = parse_flags(src.substr(src.lastIndexOf(options.domain) + options.domain.length + 1) + .split("/"), options); + if (holder) { + if (holder.fluid) { + fluid(images[i], holder, src); + } else { + render("image", images[i], holder, src); + } + } + } + } + return app; +}; + +contentLoaded(win, function () { + if (window.addEventListener) { + window.addEventListener("resize", fluid_update, false); + window.addEventListener("orientationchange", fluid_update, false); + } else { + window.attachEvent("onresize", fluid_update) + } + preempted || app.run(); +}); + +if ( typeof define === "function" && define.amd ) { + define( "Holder", [], function () { return app; } ); +} + +})(Holder, window); \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/assets/js/holder/index.html 2015-03-08 14:32:56 UTC (rev 13011) @@ -0,0 +1 @@ +<script>history.go(-1);</script> 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-03-07 16:47:59 UTC (rev 13010) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/xotpl/header.html 2015-03-08 14:32:56 UTC (rev 13011) @@ -74,15 +74,16 @@ <{* /.dropdown-alerts *}> </li> <{* /.dropdown *}> + <{xoMemberInfo assign=member_info infos="uname|user_avatar"}> <li class="dropdown"> <a href="#" class="dropdown-toggle account" data-toggle="dropdown"> <div class="avatar"> - <img src="<{xoImgUrl assets/img/avatar.jpg}>" class="img-rounded" alt="avatar" /> + <img src="<{$xoops_url}>/uploads/<{$member_info.user_avatar}>" class="img-rounded" alt="avatar" /> </div> <i class="fa fa-caret-down pull-right"></i> <div class="user-mini pull-right"> <span class="welcome">Welcome,</span> - <span><{$xoops_uname}></span> + <span><{$member_info.uname}></span> </div> </a> <ul class="dropdown-menu dropdown-user"> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/xoops_version.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/xoops_version.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/xoops_version.php 2015-03-08 14:32:56 UTC (rev 13011) @@ -0,0 +1,442 @@ +<?php +/** + * System xoops_version file + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @version $Id: xoops_version.php 12064 2013-09-17 12:12:00Z beckmi $ + * @revision $Id: xoops_version.php 13008 2015-03-08 13:58:32Z timgno $ + */ + +$modversion['name'] = _MI_SYSTEM_NAME; +$modversion['version'] = 2.11; // irmtfan bug fix: bug fix: remove codes for delete templates +$modversion['description'] = _MI_SYSTEM_DESC; +$modversion['author'] = ''; +$modversion['credits'] = 'The XOOPS Project; MusS, Kraven30, Mage'; +$modversion['help'] = 'system.html'; +$modversion['license'] = "GPL see LICENSE"; +$modversion['official'] = 1; +$modversion['image'] = 'images/system_slogo.png'; +$modversion['dirname'] = 'system'; + +// Admin things +$modversion['hasAdmin'] = 1; +$modversion['adminindex'] = 'admin.php'; +$modversion['adminmenu'] = 'menu.php'; + +$modversion['onUpdate'] = 'include/update.php'; + +// Templates +$modversion['templates'][] = array( 'file' => 'system_imagemanager.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_imagemanager2.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_userinfo.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_userform.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_rss.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_redirect.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_comment.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_comments_flat.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_comments_thread.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_comments_nest.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_siteclosed.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_dummy.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_notification_list.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_notification_select.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_block_dummy.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_homepage.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_bannerlogin.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_banner.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_bannerdisplay.html', 'description' => '' ); +$modversion['templates'][] = array( 'file' => 'system_pagenav.html', 'description' => '' ); + +// Admin Templates +$modversion['templates'][] = array( 'file' => 'system_header.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_banners.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_modules.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_modules_install.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_modules_confirm.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_modules_result.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_avatars.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_smilies.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_blocks.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_blocks_item.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_comments.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_comments_list.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_userrank.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_users.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_preferences.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_mailusers.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_groups.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_images.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_templates.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_filemanager.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_index.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_maintenance.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_help.html', 'description' => '', 'type' => 'admin' ); +$modversion['templates'][] = array( 'file' => 'system_pagenav.html', 'description' => '', 'type' => 'admin' ); + +// Blocks +$modversion['blocks'][] = array( + 'file' => 'system_blocks.php', + 'name' => _MI_SYSTEM_BNAME2, + 'description' => 'Shows user block', + 'show_func' => 'b_system_user_show', + 'template' => 'system_block_user.html'); + +$modversion['blocks'][2]['file'] = 'system_blocks.php'; +$modversion['blocks'][2]['name'] = _MI_SYSTEM_BNAME3; +$modversion['blocks'][2]['description'] = 'Shows login form'; +$modversion['blocks'][2]['show_func'] = 'b_system_login_show'; +$modversion['blocks'][2]['template'] = 'system_block_login.html'; + +$modversion['blocks'][3]['file'] = 'system_blocks.php'; +$modversion['blocks'][3]['name'] = _MI_SYSTEM_BNAME4; +$modversion['blocks'][3]['description'] = 'Shows search form block'; +$modversion['blocks'][3]['show_func'] = 'b_system_search_show'; +$modversion['blocks'][3]['template'] = 'system_block_search.html'; + +$modversion['blocks'][4]['file'] = 'system_blocks.php'; +$modversion['blocks'][4]['name'] = _MI_SYSTEM_BNAME5; +$modversion['blocks'][4]['description'] = 'Shows contents waiting for approval'; +$modversion['blocks'][4]['show_func'] = 'b_system_waiting_show'; +$modversion['blocks'][4]['template'] = 'system_block_waiting.html'; + +$modversion['blocks'][5]['file'] = 'system_blocks.php'; +$modversion['blocks'][5]['name'] = _MI_SYSTEM_BNAME6; +$modversion['blocks'][5]['description'] = 'Shows the main navigation menu of the site'; +$modversion['blocks'][5]['show_func'] = 'b_system_main_show'; +$modversion['blocks'][5]['template'] = 'system_block_mainmenu.html'; + +$modversion['blocks'][6]['file'] = 'system_blocks.php'; +$modversion['blocks'][6]['name'] = _MI_SYSTEM_BNAME7; +$modversion['blocks'][6]['description'] = 'Shows basic info about the site and a link to Recommend Us pop up window'; +$modversion['blocks'][6]['show_func'] = 'b_system_info_show'; +$modversion['blocks'][6]['edit_func'] = 'b_system_info_edit'; +$modversion['blocks'][6]['options'] = '320|190|s_poweredby.gif|1'; +$modversion['blocks'][6]['template'] = 'system_block_siteinfo.html'; + +$modversion['blocks'][7]['file'] = 'system_blocks.php'; +$modversion['blocks'][7]['name'] = _MI_SYSTEM_BNAME8; +$modversion['blocks'][7]['description'] = 'Displays users/guests currently online'; +$modversion['blocks'][7]['show_func'] = 'b_system_online_show'; +$modversion['blocks'][7]['template'] = 'system_block_online.html'; + +$modversion['blocks'][8]['file'] = 'system_blocks.php'; +$modversion['blocks'][8]['name'] = _MI_SYSTEM_BNAME9; +$modversion['blocks'][8]['description'] = 'Top posters'; +$modversion['blocks'][8]['show_func'] = 'b_system_topposters_show'; +$modversion['blocks'][8]['options'] = '10|1'; +$modversion['blocks'][8]['edit_func'] = 'b_system_topposters_edit'; +$modversion['blocks'][8]['template'] = 'system_block_topusers.html'; + +$modversion['blocks'][9]['file'] = 'system_blocks.php'; +$modversion['blocks'][9]['name'] = _MI_SYSTEM_BNAME10; +$modversion['blocks'][9]['description'] = 'Shows most recent users'; +$modversion['blocks'][9]['show_func'] = 'b_system_newmembers_show'; +$modversion['blocks'][9]['options'] = '10|1'; +$modversion['blocks'][9]['edit_func'] = 'b_system_newmembers_edit'; +$modversion['blocks'][9]['template'] = 'system_block_newusers.html'; + +$modversion['blocks'][10]['file'] = 'system_blocks.php'; +$modversion['blocks'][10]['name'] = _MI_SYSTEM_BNAME11; +$modversion['blocks'][10]['description'] = 'Shows most recent comments'; +$modversion['blocks'][10]['show_func'] = 'b_system_comments_show'; +$modversion['blocks'][10]['options'] = '10'; +$modversion['blocks'][10]['edit_func'] = 'b_system_comments_edit'; +$modversion['blocks'][10]['template'] = 'system_block_comments.html'; + +// RMV-NOTIFY: +// Adding a block... +$modversion['blocks'][11]['file'] = 'system_blocks.php'; +$modversion['blocks'][11]['name'] = _MI_SYSTEM_BNAME12; +$modversion['blocks'][11]['description'] = 'Shows notification options'; +$modversion['blocks'][11]['show_func'] = 'b_system_notification_show'; +$modversion['blocks'][11]['template'] = 'system_block_notification.html'; + +$modversion['blocks'][12]['file'] = 'system_blocks.php'; +$modversion['blocks'][12]['name'] = _MI_SYSTEM_BNAME13; +$modversion['blocks'][12]['description'] = 'Shows theme selection box'; +$modversion['blocks'][12]['show_func'] = 'b_system_themes_show'; +$modversion['blocks'][12]['options'] = '0|80'; +$modversion['blocks'][12]['edit_func'] = 'b_system_themes_edit'; +$modversion['blocks'][12]['template'] = 'system_block_themes.html'; + +// Menu +$modversion['hasMain'] = 0; + +// Préférences +$i = 0; +$modversion['config'][$i]['name'] = 'break1'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREAK_GENERAL'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'line_break'; +$modversion['config'][$i]['valuetype'] = 'textbox'; +$modversion['config'][$i]['default'] = 'head'; +$i++; +$modversion['config'][$i]['name'] = 'usetips'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_TIPS'; +$modversion['config'][$i]['description'] = '_MI_SYSTEM_PREFERENCE_TIPS_DSC'; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; +$i++; +include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; +$icons = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/modules/system/images/icons'); +$modversion['config'][$i]['name'] = 'typeicons'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ICONS'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'select'; +$modversion['config'][$i]['valuetype'] = 'text'; +$modversion['config'][$i]['default'] = 'default'; +$modversion['config'][$i]['options'] = $icons; +$modversion['config'][$i]['category'] = 'global'; +$i++; +$breadcrumb = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/modules/system/images/breadcrumb'); +$modversion['config'][$i]['name'] = 'typebreadcrumb'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREADCRUMB'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'select'; +$modversion['config'][$i]['valuetype'] = 'text'; +$modversion['config'][$i]['default'] = 'default'; +$modversion['config'][$i]['options'] = $breadcrumb; +$modversion['config'][$i]['category'] = 'global'; +$i++; +$jquery_theme = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/modules/system/css/ui'); +$modversion['config'][$i]['name'] = 'jquery_theme'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_JQUERY_THEME'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'select'; +$modversion['config'][$i]['valuetype'] = 'text'; +$modversion['config'][$i]['default'] = 'base'; +$modversion['config'][$i]['options'] = $jquery_theme; +$modversion['config'][$i]['category'] = 'global'; +$i++; +$modversion['config'][$i]['name'] = 'break2'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREAK_ACTIVE'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'line_break'; +$modversion['config'][$i]['valuetype'] = 'textbox'; +$modversion['config'][$i]['default'] = 'head'; +$i++; +$modversion['config'][$i]['name'] = 'active_avatars'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_AVATARS'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_banners'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_BANNERS'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_blocksadmin'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_BLOCKSADMIN'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'hidden'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; +$i++; +$modversion['config'][$i]['name'] = 'active_comments'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_COMMENTS'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_filemanager'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_FILEMANAGER'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'hidden'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_groups'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_GROUPS'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'hidden'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; +$i++; +$modversion['config'][$i]['name'] = 'active_images'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_IMAGES'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_mailusers'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MAILUSERS'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_maintenance'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MAINTENANCE'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_modulesadmin'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MODULESADMIN'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'hidden'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; +$i++; +$modversion['config'][$i]['name'] = 'active_preferences'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_PREFERENCES'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'hidden'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; +$i++; +$modversion['config'][$i]['name'] = 'active_smilies'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_SMILIES'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_tplsets'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_TPLSETS'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'hidden'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; +$i++; +$modversion['config'][$i]['name'] = 'active_userrank'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_USERRANK'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'active_users'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_USERS'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = '1'; +$i++; +$modversion['config'][$i]['name'] = 'break3'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREAK_PAGER'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'line_break'; +$modversion['config'][$i]['valuetype'] = 'textbox'; +$modversion['config'][$i]['default'] = 'head'; +$i++; +$modversion['config'][$i]['name'] = 'avatars_pager'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_AVATARS_PAGER'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'textbox'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 10; +$i++; +$modversion['config'][$i]['name'] = 'banners_pager'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BANNERS_PAGER'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'textbox'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 10; +$i++; +$modversion['config'][$i]['name'] = 'comments_pager'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_COMMENTS_PAGER'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'textbox'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 20; +$i++; +$modversion['config'][$i]['name'] = 'groups_pager'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_GROUPS_PAGER'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'textbox'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 15; +$i++; +$modversion['config'][$i]['name'] = 'images_pager'; +$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_IMAGES_PAGER'; +$modversion['config'][$i]['descript... [truncated message content] |
From: <txm...@us...> - 2015-03-14 11:55:57
|
Revision: 13015 http://sourceforge.net/p/xoops/svn/13015 Author: txmodxoops Date: 2015-03-14 11:55:46 +0000 (Sat, 14 Mar 2015) Log Message: ----------- Added CPanel bootnewage theme for xoops 2.5.8 based on bootstrap alpha version Added variables in class/theme.php Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/template.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/functions.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/accordion.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/blue.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/bootstrap-theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/bootstrap.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/dark.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/green.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/logger.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/orange.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/red.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/silver.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/tabs.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/yellow.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/fonts/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/fonts/glyphicons-halflings-regular.eot XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/fonts/glyphicons-halflings-regular.svg XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/fonts/glyphicons-halflings-regular.ttf XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/fonts/glyphicons-halflings-regular.woff XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/fonts/glyphicons-halflings-regular.woff2 XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/fonts/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/avatar.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/avatar_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/banners.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/banners_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/blocks.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/blocks_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/check.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/comments.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/comments_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/configuration.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/configuration_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/edituser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/edituser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/filemanager.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/filemanager_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/finduser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/finduser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/groups.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/groups_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/help.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/help_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/icon_options.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/icon_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/images.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/images_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/item.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/mailuser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/mailuser_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/maintenance.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/maintenance_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/modules.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/modules_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/newuser.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/prefs.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/prefs_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/smilies.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/smilies_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/tpls.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/tpls_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/userrank.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/userrank_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/icons/waiting.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/accordion.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/logo.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootstrap.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/formenu.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/menu.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/styleswitch.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/tabs.jquery.tools.min.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/tooltip.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/english/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/english/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/english/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/english/localsupport.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/italian/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/italian/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/italian/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/italian/localsupport.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/menu.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.html Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/template.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/template.php 2015-03-08 21:24:18 UTC (rev 13014) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/template.php 2015-03-14 11:55:46 UTC (rev 13015) @@ -9,14 +9,14 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @author Kazumi Ono <on...@xo...> * @author Skalpa Keo <sk...@xo...> * @author Taiwen Jiang <ph...@us...> * @package kernel * @subpackage core - * @version $Id: template.php 13009 2015-03-08 16:49:22Z timgno $ + * @version $Id: template.php 12795 2014-09-21 05:41:46Z beckmi $ */ defined('XOOPS_ROOT_PATH') || die('Restricted access'); @@ -32,7 +32,7 @@ * @package kernel * @subpackage core * @author Kazumi Ono <on...@xo...> - * @copyright (c) 2000-2003 The Xoops Project - www.xoops.org + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) */ class XoopsTpl extends Smarty { @@ -55,13 +55,10 @@ $this->debugging = true; } } - $theme_path = $this->template_dir . '/' . $xoopsConfig['theme_set']; $this->Smarty(); $this->setCompileId(); $this->assign(array( - 'xoops_theme_path' => $theme_path, - 'xoops_theme_tpl' => $theme_path .'/xotpl', - 'xoops_url' => XOOPS_URL , + 'xoops_url' => XOOPS_URL , 'xoops_rootpath' => XOOPS_ROOT_PATH , 'xoops_langcode' => _LANGCODE , 'xoops_charset' => _CHARSET , @@ -308,7 +305,7 @@ if ($count > 0) { $xoopsTpl = new XoopsTpl(); $xoopsTpl->caching = 2; - for ($i = 0; $i < $count; $i++) { + for ($i = 0; $i < $count; ++$i) { if ($block_arr[$i]->getVar('template') != '') { $xoopsTpl->clear_cache('db:' . $block_arr[$i]->getVar('template'), 'blk_' . $block_arr[$i]->getVar('bid')); } Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-03-08 21:24:18 UTC (rev 13014) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-03-14 11:55:46 UTC (rev 13015) @@ -9,14 +9,14 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @author Skalpa Keo <sk...@xo...> * @author Taiwen Jiang <ph...@us...> * @since 2.3.0 * @package kernel * @subpackage xos_opal_Theme - * @version $Id: theme.php 12537 2014-05-19 14:19:33Z beckmi $ + * @version $Id: theme.php 12666 2014-06-30 10:02:07Z beckmi $ */ defined('XOOPS_ROOT_PATH') || die('Restricted access'); @@ -280,7 +280,14 @@ 'xoops_dirname' => isset($GLOBALS['xoopsModule'])&& is_object($GLOBALS['xoopsModule']) ? $GLOBALS['xoopsModule']->getVar('dirname') : 'system', 'xoops_banner' => ($GLOBALS['xoopsConfig']['banners'] && $this->renderBanner) ? xoops_getbanner() : ' ', 'xoops_pagetitle' => isset($GLOBALS['xoopsModule']) && is_object($GLOBALS['xoopsModule']) ? $GLOBALS['xoopsModule']->getVar('name') : htmlspecialchars($GLOBALS['xoopsConfig']['slogan'], ENT_QUOTES))); - + // From XoopsCore by Timgno + $this->template->assign(array( + 'theme_path' => $this->path, 'theme_tpl' => $this->path . '/xotpl', 'theme_url' => $this->url, + 'theme_img' => $this->url . '/img', 'theme_icons' => $this->url . '/icons', + 'theme_css' => $this->url . '/css', 'theme_js' => $this->url . '/js', + 'theme_lang' => $this->url . '/language', + )); + // -------------------------------------------------------------------- if (isset($GLOBALS['xoopsUser']) && is_object($GLOBALS['xoopsUser'])) { $this->template->assign(array( 'xoops_isuser' => true, Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php 2015-03-08 21:24:18 UTC (rev 13014) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php 2015-03-14 11:55:46 UTC (rev 13015) @@ -61,7 +61,7 @@ $GLOBALS['xoTheme']->addScript('','', ' $(function() { $.datepicker.setDefaults( $.extend($.datepicker.regional["'. _LANGCODE .'"]) ); - $( "#datepicker-' . ucfirst($ele_name) . '" ).datepicker({ + $( ".datepicker" ).datepicker({ showOn: "button", buttonImage: "'.XOOPS_URL.'/images/calendar.png", buttonImageOnly: true, @@ -76,6 +76,6 @@ '); } } - return "<input type='text' name='" . $ele_name . "' class='form-control' id='datepicker-" . ucfirst($ele_name) . "' size='" . $this->getSize() . "' value=''" . $this->getExtra() . " />"; + return "<input type='text' name='" . $ele_name . "' class='form-control datepicker' size='" . $this->getSize() . "' value=''" . $this->getExtra() . " />"; } } \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/functions.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/functions.php 2015-03-08 21:24:18 UTC (rev 13014) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/functions.php 2015-03-14 11:55:46 UTC (rev 13015) @@ -289,7 +289,7 @@ */ function xoops_error($msg, $title = '') { - echo '<div class="alert alert-danger text-center">'; + echo '<div class="alert alert-danger text-center" role="alert">'; if ($title != '') { echo '<strong>' . $title . '</strong><br /><br />'; } Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/accordion.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/accordion.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/accordion.css 2015-03-14 11:55:46 UTC (rev 13015) @@ -0,0 +1,82 @@ +/* + * Default Admin Theme + * + * @copyright Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Xoops Design Theme <http://www.xoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id +*/ + +#accordion { + border:1px solid #f5f5f5; + background-color: #f0f0f0; + color: #333; + width: 100%; + box-shadow: 0 20px 10px -10px rgba(180, 180, 180, 0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(215, 215, 255, 0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255, 215, 215, 0.3) inset; + -khtml-box-shadow: 0 20px 10px -10px rgba(215, 255, 215, 0.3) inset; +} + +/* accordion header */ +#accordion h5 { + padding: 5px 10px; + cursor: pointer; + position: relative; + margin: 1px; + background: url(../../assets/img/accordion.png) repeat-x !important; + color: #ddd; + border: 1px solid #FFF; + font-weight: bold; +} + +/* currently active header */ +#accordion h5.current { + cursor:default; + background-color: #f7f7f7; +} + +/* accordion pane */ +#accordion .pane { + display:none; + padding:10px; + font-size:12px; + line-height: 120%; +} + +.xgiftshop { + text-align: center !important; +} + +#xokeytitle { + padding: 2px; + font-size: 13px; + font-weight: bold; + color: #333; +} + +#xokeynumber { + text-align: center; + padding-top: 5px; + padding-bottom: 5px; + font-size: 13px; + font-weight: bold; + color: #92EF2C; +} + +#xolicenses { + padding: 5px 18px 5px 18px !important; +} + +#xolicenses a{ + color: #45C5DF; +} + +#xolicenses a:hover { + color: #FF0000; + text-decoration: none; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/blue.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/blue.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/blue.css 2015-03-14 11:55:46 UTC (rev 13015) @@ -0,0 +1,161 @@ +/* + * Dashboard Responsive Admin Theme + * + * @copyright Txmod Xoops <http://www.txmodxoops.org/> - Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Txmod Xoops <http://www.txmodxoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id 1.0 +*/ +/* ==================== General definitions ==================== */ + +#top-nav.navbar.navbar-inverse.navbar-static-top { + color:#fff; + background:#5364fc; +} + +#top-nav.navbar.navbar-inverse.navbar-static-top a i { + color:#fff; + background:inherit; +} + +#top-nav.navbar.navbar-inverse.navbar-static-top a:hover i { + color:#e94; + background:#f3f4fc; + text-decoration: none; +} + +#top-nav li img.user-avatar { + margin: -10px 10px -10px 10px; + border-radius: 4px; + width: 40px; + height: 40px; +} + +#top-nav li img.user-avatar a i { + color:#222; + background:inherit; +} + +#top-nav li img.user-avatar a:hover i { + color:#fff; + background:#f3f4fc; + text-decoration: none; +} + +/* Dropdown Submenu Top */ + +.dropdown-submenu{ + position:relative; +} + +.dropdown-submenu>.dropdown-menu { + top:0; + left:100%; + margin-top:-6px; + margin-left:-1px; + -webkit-border-radius:0 6px 6px 6px; + -moz-border-radius:0 6px 6px 6px; + border-radius:0 6px 6px 6px; +} + +.dropdown-submenu:hover>.dropdown-menu { + display: block; +} + +.dropdown-submenu>a.submenu-after:after { + display:block; + content:" "; + float:right; + width:0; + height:0; + border-color:transparent; + border-style:solid; + border-width:5px 0 5px 5px; + border-left-color:#cccccc; + margin-top:5px; + margin-right:-10px; + overflow: auto; +} + +.dropdown-submenu:hover>a.submenu-after:after { + border-left-color:#555; +} + +.dropdown-submenu.pull-left { + float:none; +} + +.dropdown-submenu.pull-left>.dropdown-menu { + left:-100%; + margin-left:10px; + -webkit-border-radius:6px 0 6px 6px; + -moz-border-radius:6px 0 6px 6px; + border-radius:6px 0 6px 6px; +} + +li.bg-color { + margin: 3px; + padding: 2px 0; + -webkit-border-radius:6px 6px 6px 6px; + -moz-border-radius:6px 6px 6px 6px; + border-radius:6px 6px 6px 6px; +} +li.bg-color.bg-dark a { + color:#fff; + background:#3d3636; +} +li.bg-color.bg-silver a { + color:#222; + background:#cccccc; +} +li.bg-color.bg-orange a { + color:#222; + background:#faa90c; +} +li.bg-color.bg-red a { + color:#fff; + background:#ff4d00; +} +li.bg-color.bg-green a { + color:#222; + background:#1eb324; +} +li.bg-color.bg-yellow a { + color:#222; + background:#fae105; +} +li.bg-color.bg-blue a { + color:#fff; + background:#5364fc; +} + +.sidenav { + color:#fff; + background:#5364fc; +} + +.sidenav ul li a { + color:#fff; + background:inherit; +} + +.sidenav ul li a:hover { + color:#e94; + background:#f3f4fc; + text-decoration: none; +} + +.row.row-preferences { + margin: 20px 0 0 10px; +} + +footer { + margin-top:20px; + padding-top:20px; + padding-bottom:20px; + background-color:#efefef; +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/bootstrap-theme.min.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/bootstrap-theme.min.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/bootstrap-theme.min.css 2015-03-14 11:55:46 UTC (rev 13015) @@ -0,0 +1,5 @@ +/*! + * Bootstrap v3.3.2 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/bootstrap.min.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/bootstrap.min.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/bootstrap.min.css 2015-03-14 11:55:46 UTC (rev 13015) @@ -0,0 +1,5 @@ +/*! + * Bootstrap v3.3.2 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) @@ Diff output truncated at 100000 characters. @@ |
From: <txm...@us...> - 2015-03-14 18:51:16
|
Revision: 13016 http://sourceforge.net/p/xoops/svn/13016 Author: txmodxoops Date: 2015-03-14 18:51:12 +0000 (Sat, 14 Mar 2015) Log Message: ----------- Updated profile module with .tpl extension templates Captcha and Recaptcha Modificed admin protector for bootstrap Deleted .html templates files Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/config.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/config.recaptcha.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/activate.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/about.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/admin_footer.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/admin_header.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/category.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/deactivate.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/field.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/index.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/menu.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/permissions.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/step.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/user.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/visibility.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/css/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/css/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/css/style.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/actions/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/actions/0.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/actions/1.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/actions/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/left_both.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/logo.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/modadminbg.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/no.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/right_both.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/images/yes.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/js/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/assets/js/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changemail.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changepass.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/class/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/class/category.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/class/field.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/class/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/class/profile.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/class/regstep.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/class/visibility.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/docs/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/docs/changelog.txt XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/docs/credits.txt XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/docs/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/docs/install.txt XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/docs/lang_diff.txt XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/docs/licence.txt XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/docs/readme.txt XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/edituser.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/footer.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/header.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/include/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/include/forms.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/include/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/include/install.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/include/update.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/index.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/help/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/help/help.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/help/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/mail_template/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/mail_template/emailchanged.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/mail_template/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/english/modinfo.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/language/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/lostpass.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/preloads/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/preloads/core.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/preloads/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/register.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/search.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/sql/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/sql/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/sql/mysql.sql XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_categorylist.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_fieldlist.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_steplist.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_visibility.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_avatar.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_breadcrumbs.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_changepass.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_editprofile.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_email.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_form.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_register.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_results.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_search.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userform.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_userinfo.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/user.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/userinfo.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/modules/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/modules/protector/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/modules/protector/admin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/modules/protector/admin/center.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/xoops_lib/modules/protector/admin/prefix_manager.php Removed Paths: ------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_categorylist.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_fieldlist.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_steplist.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_visibility.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/system/themes/dashboard/xotpl/theme_bccenter.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_bcleft.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_bcright.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_bleft.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/xotpl/theme_bright.html Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/config.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/config.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/config.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,33 @@ +<?php +/** + * CAPTCHA configurations for All modes + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package class + * @subpackage CAPTCHA + * @since 2.3.0 + * @author Taiwen Jiang <ph...@us...> + * @version $Id: config.php 12666 2014-06-30 10:02:07Z beckmi $ + */ + +defined('XOOPS_ROOT_PATH') || die('Restricted access'); + +/** + * This keeping config in files has really got to stop. If we can't actually put these into + * the actual XOOPS config then we should do this. (Who said this? You are right!) + */ +return $config = array( + 'disabled' => $GLOBALS['xoopsModuleConfig']['captcha_disabled'], // Disable CAPTCHA false + 'mode' => $GLOBALS['xoopsModuleConfig']['captcha_mode'], // default mode, you can choose 'text', 'image', 'recaptcha'(requires api key) + 'name' => $GLOBALS['xoopsModuleConfig']['captcha_name'], // default captcha name xoopscaptcha + 'skipmember' => $GLOBALS['xoopsModuleConfig']['captcha_skipmember'], // Skip CAPTCHA check for members true + 'maxattempts' => $GLOBALS['xoopsModuleConfig']['captcha_maxattempts'], // Maximum attempts for each session default 10 +); Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/config.recaptcha.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/config.recaptcha.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/captcha/config.recaptcha.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,28 @@ +<?php +/** + * CAPTCHA configurations for Recaptcha mode + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package class + * @subpackage CAPTCHA + * @since 2.5.2 + * @author trabis <lus...@gm...> + * @version $Id: config.recaptcha.php 13018 2015-03-15 18:32:47Z timgno $ + */ + +defined('XOOPS_ROOT_PATH') || die('Restricted access'); + +return $config = array( + 'private_key' => $GLOBALS['xoopsModuleConfig']['recaptcha_private_apikey'], //'YourPrivateApiKey' + 'public_key' => $GLOBALS['xoopsModuleConfig']['recaptcha_public_apikey'], //'YourPublicApiKey', + 'theme' => $GLOBALS['xoopsModuleConfig']['recaptcha_theme'], // 'red' | 'white' | 'blackglass' | 'clean' | 'custom' + 'lang' => _LANGCODE + ); Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-03-14 11:55:46 UTC (rev 13015) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -16,7 +16,7 @@ * @since 2.3.0 * @package kernel * @subpackage xos_opal_Theme - * @version $Id: theme.php 12666 2014-06-30 10:02:07Z beckmi $ + * @version $Id: theme.php 13015 2015-03-14 12:56:47Z timgno $ */ defined('XOOPS_ROOT_PATH') || die('Restricted access'); Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/activate.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/activate.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/activate.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,109 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: activate.php 12033 2013-09-14 03:16:44Z beckmi $ + */ + +$xoopsOption['pagetype'] = "user"; +include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php'; + +include $GLOBALS['xoops']->path('header.php'); +if (!empty($_GET['id']) && !empty($_GET['actkey'])) { + $id = intval($_GET['id']); + $actkey = trim($_GET['actkey']); + if (empty($id)) { + redirect_header(XOOPS_URL, 1, ''); + exit(); + } + $member_handler =& xoops_gethandler('member'); + $thisuser =& $member_handler->getUser($id); + if (!is_object($thisuser)) { + redirect_header(XOOPS_URL, 1, ''); + exit(); + } + if ($thisuser->getVar('actkey') != $actkey) { + redirect_header(XOOPS_URL . '/', 5, _US_ACTKEYNOT); + } else { + if ($thisuser->getVar('level') > 0) { + redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['xoopsModule']->getVar('dirname', 'n'). '/index.php', 5, _US_ACONTACT, false); + } else { + if (false != $member_handler->activateUser($thisuser)) { + $config_handler =& xoops_gethandler('config'); + $GLOBALS['xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER); + if ($GLOBALS['xoopsConfigUser']['activation_type'] == 2) { + $myts =& MyTextSanitizer::getInstance(); + $xoopsMailer = xoops_getMailer(); + $xoopsMailer->useMail(); + $xoopsMailer->setTemplate('activated.tpl'); + $xoopsMailer->assign('SITENAME', $GLOBALS['xoopsConfig']['sitename']); + $xoopsMailer->assign('ADMINMAIL', $GLOBALS['xoopsConfig']['adminmail']); + $xoopsMailer->assign('SITEURL', XOOPS_URL . "/"); + $xoopsMailer->setToUsers($thisuser); + $xoopsMailer->setFromEmail($GLOBALS['xoopsConfig']['adminmail']); + $xoopsMailer->setFromName($GLOBALS['xoopsConfig']['sitename']); + $xoopsMailer->setSubject(sprintf(_US_YOURACCOUNT, $GLOBALS['xoopsConfig']['sitename']) ); + include $GLOBALS['xoops']->path('header.php'); + if (!$xoopsMailer->send()) { + printf(_US_ACTVMAILNG, $thisuser->getVar('uname') ); + } else { + printf(_US_ACTVMAILOK, $thisuser->getVar('uname') ); + } + include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php'; + } else { + redirect_header(XOOPS_URL . '/user.php', 5, _US_ACTLOGIN, false); + } + } else { + redirect_header(XOOPS_URL . '/index.php', 5, 'Activation failed!'); + } + } + } +// Not implemented yet: re-send activiation code +} else if (!empty($_REQUEST['email']) && $xoopsConfigUser['activation_type'] != 0) { + $myts =& MyTextSanitizer::getInstance(); + $member_handler =& xoops_gethandler('member'); + $getuser =& $member_handler->getUsers(new Criteria('email', $myts->addSlashes(trim($_REQUEST['email'])))); + if (count($getuser) == 0) { + redirect_header(XOOPS_URL, 2, _US_SORRYNOTFOUND); + } + if ($getuser[0]->isActive()) { + redirect_header(XOOPS_URL, 2, sprintf(_US_USERALREADYACTIVE, $getuser[0]->getVar('email'))); + } + $xoopsMailer =& xoops_getMailer(); + $xoopsMailer->useMail(); + $xoopsMailer->setTemplate('register.tpl'); + $xoopsMailer->assign('SITENAME', $GLOBALS['xoopsConfig']['sitename']); + $xoopsMailer->assign('ADMINMAIL', $GLOBALS['xoopsConfig']['adminmail']); + $xoopsMailer->assign('SITEURL', XOOPS_URL . "/"); + $xoopsMailer->setToUsers($getuser[0]); + $xoopsMailer->setFromEmail($GLOBALS['xoopsConfig']['adminmail']); + $xoopsMailer->setFromName($GLOBALS['xoopsConfig']['sitename']); + $xoopsMailer->setSubject(sprintf(_US_USERKEYFOR, $getuser[0]->getVar('uname') )); + if (!$xoopsMailer->send()) { + echo _US_YOURREGMAILNG; + } else { + echo _US_YOURREGISTERED; + } +} else { + include_once $GLOBALS['xoops']->path('class/xoopsformloader.php'); + $form = new XoopsThemeForm('', 'form', 'activate.php'); + $form->addElement(new XoopsFormText(_US_EMAIL, 'email', 25, 255) ); + $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit') ); + $form->display(); +} + +$xoBreadcrumbs[] = array('title' => _PROFILE_MA_REGISTER); +include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php'; Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/about.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/about.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/about.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,31 @@ +<?php +/** + * XOOPS Profile module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project (http://www.xoops.org) + * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @package xoopsPoll + * @since 2.5.0 + * @author Mage, Mamba + * @version $Id $ + **/ + +include '../../../include/cp_header.php'; +include 'admin_header.php'; +xoops_cp_header(); + +$module_info =& $module_handler->get($xoopsModule->getVar("mid")); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/admin_footer.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/admin_footer.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/admin_footer.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,27 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: admin_footer.php 13016 2015-03-15 18:21:22Z timgno $ + */ +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/admin_header.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/admin_header.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/admin_header.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,54 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Taiwen Jiang <ph...@us...> + * @version $Id: admin_header.php 12363 2014-03-08 10:39:06Z beckmi $ + */ + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(dirname(__FILE__)) . '/include/functions.php'; + +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +$myts =& MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . "/class/template.php"; + $xoopsTpl = new XoopsTpl(); +} + +include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + +xoops_loadLanguage('user'); +if ( !isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl']) ) { + include_once $GLOBALS['xoops']->path( "/class/template.php" ); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/category.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/category.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/category.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,96 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: permissions.php 13016 2015-03-15 18:21:22Z timgno $ + */ +include 'admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); + +$indexAdmin->addItemButton(_ADD . ' ' . _AM_PROFILE_CATEGORY, 'category.php?op=new', 'add', ''); + +echo $indexAdmin->addNavigation('category.php'); +echo $indexAdmin->renderButton('right', ''); + +$op = isset($_REQUEST['op']) ? $_REQUEST['op'] : (isset($_REQUEST['id']) ? "edit" : 'list'); + +$handler =& xoops_getmodulehandler('category'); +switch ($op) { +default: +case "list": + $criteria = new CriteriaCompo(); + $criteria->setSort('cat_weight'); + $criteria->setOrder('ASC'); + $GLOBALS['xoopsTpl']->assign('categories', $handler->getObjects($criteria, true, false) ); + $template_main = "profile_admin_categorylist.tpl"; + break; + +case "new": + include_once '../include/forms.php'; + $obj =& $handler->create(); + $form = $obj->getForm(); + $form->display(); + break; + +case "edit": + include_once '../include/forms.php'; + $obj = $handler->get($_REQUEST['id']); + $form = $obj->getForm(); + $form->display(); + break; + +case "save": + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header('category.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors() )); + } + if ( isset($_REQUEST['id']) ) { + $obj =& $handler->get($_REQUEST['id']); + } else { + $obj =& $handler->create(); + } + $obj->setVar('cat_title', $_REQUEST['cat_title']); + $obj->setVar('cat_description', $_REQUEST['cat_description']); + $obj->setVar('cat_weight', $_REQUEST['cat_weight']); + if ( $handler->insert($obj) ) { + redirect_header('category.php', 3, sprintf(_AM_PROFILE_SAVEDSUCCESS, _AM_PROFILE_CATEGORY) ); + } + include_once '../include/forms.php'; + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + $form->display(); + break; + +case "delete": + $obj =& $handler->get($_REQUEST['id']); + if ( isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1 ) { + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header('category.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors() )); + } + if ( $handler->delete($obj) ) { + redirect_header('category.php', 3, sprintf(_AM_PROFILE_DELETEDSUCCESS, _AM_PROFILE_CATEGORY) ); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array('ok' => 1, 'id' => $_REQUEST['id'], 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_PROFILE_RUSUREDEL, $obj->getVar('cat_title') )); + } + break; +} +if ( isset($template_main) ) { + $GLOBALS['xoopsTpl']->display("db:{$template_main}"); +} +include 'admin_footer.php'; Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/deactivate.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/deactivate.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/deactivate.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,31 @@ +<?php +include 'admin_header.php'; +xoops_cp_header(); + +if ( !isset($_REQUEST['uid']) ) { + redirect_header("index.php", 2, _PROFILE_AM_NOSELECTION); +} +$member_handler = xoops_gethandler('member'); +$user = $member_handler->getUser($_REQUEST['uid']); +if ( !$user || $user->isNew() ) { + redirect_header("index.php", 2, _PROFILE_AM_USERDONEXIT); +} + +if ( in_array(XOOPS_GROUP_ADMIN, $user->getGroups() ) ) { + redirect_header("index.php", 2, _PROFILE_AM_CANNOTDEACTIVATEWEBMASTERS); +} +$user->setVar('level', $_REQUEST['level']); +if ( $member_handler->insertUser($user) ) { + if ( $_REQUEST['level'] == 1 ) { + $message = _PROFILE_AM_USER_ACTIVATED; + } else { + $message = _PROFILE_AM_USER_DEACTIVATED; + } +} else { + if ( $_REQUEST['level'] == 1 ) { + $message = _PROFILE_AM_USER_NOT_ACTIVATED; + } else { + $message = _PROFILE_AM_USER_NOT_DEACTIVATED; + } +} +redirect_header("../userinfo.php?uid=" . $user->getVar('uid'), 3, $message); Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/field.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/field.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/field.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,338 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: field.php 13016 2015-03-15 18:21:22Z timgno $ + */ +include 'admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); + +$indexAdmin->addItemButton(_ADD . ' ' . _AM_PROFILE_FIELD, 'field.php?op=new', 'add', ''); + +echo $indexAdmin->addNavigation('field.php'); +echo $indexAdmin->renderButton('right', ''); + +$op = isset($_REQUEST['op']) ? $_REQUEST['op'] : (isset($_REQUEST['id']) ? "edit" : 'list'); + +$profilefield_handler =& xoops_getmodulehandler('field'); + +switch ($op) { + default: + case "list": + $fields = $profilefield_handler->getObjects(null, true, false); + + $module_handler =& xoops_gethandler('module'); + $modules = $module_handler->getObjects(null, true); + + $cat_handler =& xoops_getmodulehandler('category'); + $criteria = new CriteriaCompo(); + $criteria->setSort('cat_weight'); + $cats = $cat_handler->getObjects($criteria, true); + unset($criteria); + + $categories[0] = _AM_PROFILE_DEFAULT; + if (count($cats) > 0) { + foreach (array_keys($cats) as $i) { + $categories[$cats[$i]->getVar('cat_id')] = $cats[$i]->getVar('cat_title'); + } + } + $GLOBALS['xoopsTpl']->assign('categories', $categories); + unset($categories); + $valuetypes = array( XOBJ_DTYPE_ARRAY => _AM_PROFILE_ARRAY, + XOBJ_DTYPE_EMAIL => _AM_PROFILE_EMAIL, + XOBJ_DTYPE_INT => _AM_PROFILE_INT, + XOBJ_DTYPE_TXTAREA => _AM_PROFILE_TXTAREA, + XOBJ_DTYPE_TXTBOX => _AM_PROFILE_TXTBOX, + XOBJ_DTYPE_URL => _AM_PROFILE_URL, + XOBJ_DTYPE_OTHER => _AM_PROFILE_OTHER, + XOBJ_DTYPE_MTIME => _AM_PROFILE_DATE ); + + $fieldtypes = array('checkbox' => _AM_PROFILE_CHECKBOX, + 'group' => _AM_PROFILE_GROUP, + 'group_multi' => _AM_PROFILE_GROUPMULTI, + 'language' => _AM_PROFILE_LANGUAGE, + 'radio' => _AM_PROFILE_RADIO, + 'select' => _AM_PROFILE_SELECT, + 'select_multi' => _AM_PROFILE_SELECTMULTI, + 'textarea' => _AM_PROFILE_TEXTAREA, + 'dhtml' => _AM_PROFILE_DHTMLTEXTAREA, + 'textbox' => _AM_PROFILE_TEXTBOX, + 'timezone' => _AM_PROFILE_TIMEZONE, + 'yesno' => _AM_PROFILE_YESNO, + 'date' => _AM_PROFILE_DATE, + 'datetime' => _AM_PROFILE_DATETIME, + 'longdate' => _AM_PROFILE_LONGDATE, + 'theme' => _AM_PROFILE_THEME, + 'autotext' => _AM_PROFILE_AUTOTEXT, + 'rank' => _AM_PROFILE_RANK); + + foreach (array_keys($fields) as $i) { + $fields[$i]['canEdit']=$fields[$i]['field_config'] || $fields[$i]['field_show'] || $fields[$i]['field_edit']; + $fields[$i]['canDelete'] = $fields[$i]['field_config']; + $fields[$i]['fieldtype'] = $fieldtypes[$fields[$i]['field_type']]; + $fields[$i]['valuetype'] = $valuetypes[$fields[$i]['field_valuetype']]; + $categories[$fields[$i]['cat_id']][] = $fields[$i]; + $weights[$fields[$i]['cat_id']][] = $fields[$i]['field_weight']; + + } + //sort fields order in categories + foreach (array_keys($categories) as $i) { + array_multisort($weights[$i], SORT_ASC, array_keys($categories[$i]), SORT_ASC, $categories[$i]); + } + ksort($categories); + $GLOBALS['xoopsTpl']->assign('fieldcategories', $categories); + $GLOBALS['xoopsTpl']->assign('token', $GLOBALS['xoopsSecurity']->getTokenHTML()); + $template_main = "profile_admin_fieldlist.tpl"; + break; + + case "new": + include_once '../include/forms.php'; + $obj =& $profilefield_handler->create(); + $form = profile_getFieldForm($obj); + $form->display(); + break; + + case "edit": + $obj =& $profilefield_handler->get($_REQUEST['id']); + if (!$obj->getVar('field_config') && !$obj->getVar('field_show') && !$obj->getVar('field_edit')) { //If no configs exist + redirect_header('field.php', 2, _AM_PROFILE_FIELDNOTCONFIGURABLE); + } + include_once '../include/forms.php'; + $form = profile_getFieldForm($obj); + $form->display(); + break; + + case "reorder": + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('field.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if (isset($_POST['field_ids']) && count($_POST['field_ids']) > 0) { + $oldweight = $_POST['oldweight']; + $oldcat = $_POST['oldcat']; + $category = $_POST['category']; + $weight = $_POST['weight']; + $ids = array(); + foreach ($_POST['field_ids'] as $field_id) { + if ($oldweight[$field_id] != $weight[$field_id] || $oldcat[$field_id] != $category[$field_id]) { + //if field has changed + $ids[] = intval($field_id); + } + } + if (count($ids) > 0) { + $errors = array(); + //if there are changed fields, fetch the fieldcategory objects + $field_handler =& xoops_getmodulehandler('field'); + $fields = $field_handler->getObjects(new Criteria('field_id', "(" . implode(',', $ids) . ")", "IN"), true); + foreach ($ids as $i) { + $fields[$i]->setVar('field_weight', intval($weight[$i])); + $fields[$i]->setVar('cat_id', intval($category[$i])); + if (!$field_handler->insert($fields[$i])) { + $errors = array_merge($errors, $fields[$i]->getErrors()); + } + } + if (count($errors) == 0) { + //no errors + redirect_header('field.php', 2, sprintf(_AM_PROFILE_SAVEDSUCCESS, _AM_PROFILE_FIELDS)); + } else { + redirect_header('field.php', 3, implode('<br />', $errors)); + } + } + } + break; + + case "save": + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('field.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + $redirect_to_edit = false; + if (isset($_REQUEST['id'])) { + $obj =& $profilefield_handler->get($_REQUEST['id']); + if (!$obj->getVar('field_config') && !$obj->getVar('field_show') && !$obj->getVar('field_edit')) { //If no configs exist + redirect_header('admin.php', 2, _AM_PROFILE_FIELDNOTCONFIGURABLE); + } + } else { + $obj =& $profilefield_handler->create(); + $obj->setVar('field_name', $_REQUEST['field_name']); + $obj->setVar('field_moduleid', $GLOBALS['xoopsModule']->getVar('mid')); + $obj->setVar('field_show', 1); + $obj->setVar('field_edit', 1); + $obj->setVar('field_config', 1); + $redirect_to_edit = true; + } + $obj->setVar('field_title', $_REQUEST['field_title']); + $obj->setVar('field_description', $_REQUEST['field_description']); + if ($obj->getVar('field_config')) { + $obj->setVar('field_type', $_REQUEST['field_type']); + if (isset($_REQUEST['field_valuetype'])) { + $obj->setVar('field_valuetype', $_REQUEST['field_valuetype']); + } + $options = $obj->getVar('field_options'); + + if (isset($_REQUEST['removeOptions']) && is_array($_REQUEST['removeOptions'])) { + foreach ($_REQUEST['removeOptions'] as $index) { + unset($options[$index]); + } + $redirect_to_edit = true; + } + + if (!empty($_REQUEST['addOption'])) { + foreach ($_REQUEST['addOption'] as $option) { + if (empty($option['value'])) continue; + $options[$option['key']] = $option['value']; + $redirect_to_edit = true; + } + } + $obj->setVar('field_options', $options); + } + if ($obj->getVar('field_edit')) { + $required = isset($_REQUEST['field_required']) ? $_REQUEST['field_required'] : 0; + $obj->setVar('field_required', $required); //0 = no, 1 = yes + if (isset($_REQUEST['field_maxlength'])) { + $obj->setVar('field_maxlength', $_REQUEST['field_maxlength']); + } + if (isset($_REQUEST['field_default'])) { + $field_default = $obj->getValueForSave($_REQUEST['field_default']); + //Check for multiple selections + if (is_array($field_default)) { + $obj->setVar('field_default', serialize($field_default)); + } else { + $obj->setVar('field_default', $field_default); + } + } + } + + if ($obj->getVar('field_show')) { + $obj->setVar('field_weight', $_REQUEST['field_weight']); + $obj->setVar('cat_id', $_REQUEST['field_category']); + } + if ( /*$obj->getVar('field_edit') && */isset($_REQUEST['step_id']) ) { + $obj->setVar('step_id', $_REQUEST['step_id']); + } + if ($profilefield_handler->insert($obj)) { + $groupperm_handler =& xoops_gethandler('groupperm'); + + $perm_arr = array(); + if ($obj->getVar('field_show')) { + $perm_arr[] = 'profile_show'; + $perm_arr[] = 'profile_visible'; + } + if ($obj->getVar('field_edit')) { + $perm_arr[] = 'profile_edit'; + } + if ($obj->getVar('field_edit') || $obj->getVar('field_show')) { + $perm_arr[] = 'profile_search'; + } + if (count($perm_arr) > 0) { + foreach ($perm_arr as $perm) { + $criteria = new CriteriaCompo(new Criteria('gperm_name', $perm)); + $criteria->add(new Criteria('gperm_itemid', intval($obj->getVar('field_id')))); + $criteria->add(new Criteria('gperm_modid', intval($GLOBALS['xoopsModule']->getVar('mid')))); + if (isset($_REQUEST[$perm]) && is_array($_REQUEST[$perm])) { + $perms = $groupperm_handler->getObjects($criteria); + if (count($perms) > 0) { + foreach (array_keys($perms) as $i) { + $groups[$perms[$i]->getVar('gperm_groupid')] =& $perms[$i]; + } + } else { + $groups = array(); + } + foreach ($_REQUEST[$perm] as $groupid) { + $groupid = intval($groupid); + if (!isset($groups[$groupid])) { + $perm_obj =& $groupperm_handler->create(); + $perm_obj->setVar('gperm_name', $perm); + $perm_obj->setVar('gperm_itemid', intval($obj->getVar('field_id'))); + $perm_obj->setVar('gperm_modid', $GLOBALS['xoopsModule']->getVar('mid')); + $perm_obj->setVar('gperm_groupid', $groupid); + $groupperm_handler->insert($perm_obj); + unset($perm_obj); + } + } + $removed_groups = array_diff(array_keys($groups), $_REQUEST[$perm]); + if (count($removed_groups) > 0) { + $criteria->add(new Criteria('gperm_groupid', "(" . implode(',', $removed_groups) . ")", "IN")); + $groupperm_handler->deleteAll($criteria); + } + unset($groups); + + } else { + $groupperm_handler->deleteAll($criteria); + } + unset($criteria); + } + } + $url = $redirect_to_edit ? 'field.php?op=edit&id=' . $obj->getVar('field_id') : 'field.php'; + redirect_header($url, 3, sprintf(_AM_PROFILE_SAVEDSUCCESS, _AM_PROFILE_FIELD)); + } + include_once '../include/forms.php'; + echo $obj->getHtmlErrors(); + $form = profile_getFieldForm($obj); + $form->display(); + break; + + case "delete": + $obj =& $profilefield_handler->get($_REQUEST['id']); + if (!$obj->getVar('field_config')) { + redirect_header('index.php', 2, _AM_PROFILE_FIELDNOTCONFIGURABLE); + } + if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) { + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('field.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if ($profilefield_handler->delete($obj)) { + redirect_header('field.php', 3, sprintf(_AM_PROFILE_DELETEDSUCCESS, _AM_PROFILE_FIELD)); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array('ok' => 1,'id' => $_REQUEST['id'],'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_PROFILE_RUSUREDEL, $obj->getVar('field_title'))); + } + break; + + case 'toggle': + if (isset($_REQUEST['field_id'])) { + $field_id = intval($_REQUEST['field_id']); + if (isset($_REQUEST['field_required'])) { + $field_required = intval($_REQUEST['field_required']); + profile_visible_toggle($field_id, $field_required); + } + } + break; +} + +if (isset($template_main)) { + $GLOBALS['xoopsTpl']->display("db:{$template_main}"); +} + +/** + * @param $field_id + * @param $field_required + */ +function profile_visible_toggle($field_id, $field_required) +{ + $field_required = ($field_required == 1) ? 0 : 1; + $this_handler =& xoops_getModuleHandler('field', 'profile'); + $obj = $this_handler->get($field_id); + $obj->setVar('field_required', $field_required); + if ($this_handler->insert($obj, true)) { + redirect_header('field.php', 1, _AM_PROFILE_REQUIRED_TOGGLE_SUCCESS); + } else { + redirect_header('field.php', 1, _AM_PROFILE_REQUIRED_TOGGLE_FAILED); + } +} + +include 'admin_footer.php'; Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/index.html 2015-03-14 18:51:12 UTC (rev 13016) @@ -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/admin/index.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/index.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/index.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,42 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: index.php 13016 2015-03-15 18:21:22Z timgno $ + */ + +include_once 'admin_header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +//----------------------- +// $xpPartnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + +// $totalPartners = $xpPartnerHandler->getCount(); +// $totalNonActivePartners = $xpPartnerHandler->getCount(new Criteria('status', 0, '=')); +// $totalActivePartners = $totalPartners - $totalNonActivePartners; + +// $indexAdmin->addInfoBox(_MA_PROFILE_DASHBOARD); + +// $indexAdmin->addInfoBoxLine(_MA_PROFILE_DASHBOARD, "<infolabel>" ._MA_PROFILE_TOTALACTIVE. "</infolabel>", $totalActivePartners, 'Green'); +// $indexAdmin->addInfoBoxLine(_MA_PROFILE_DASHBOARD, "<infolabel>" ._MA_PROFILE_TOTALNONACTIVE. "</infolabel>", $totalNonActivePartners, 'Red'); +// $indexAdmin->addInfoBoxLine(_MA_PROFILE_DASHBOARD, "<infolabel>" ._MA_PROFILE_TOTALPARTNERS. "</infolabel><infotext>", $totalPartners."</infotext>"); +//---------------------------- + +echo $indexAdmin->addNavigation('index.php'); +echo $indexAdmin->renderIndex(); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/menu.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/menu.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/menu.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,68 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: menu.php 12363 2014-03-08 10:39:06Z beckmi $ + */ + +defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _MI_PROFILE_HOME; +$adminmenu[$i]['link'] = "admin/index.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/home.png' ; +$i++; +$adminmenu[$i]['title'] = _MI_PROFILE_USERS; +$adminmenu[$i]['link'] = "admin/user.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/users.png' ; +$i++; +$adminmenu[$i]['title'] = _MI_PROFILE_CATEGORIES; +$adminmenu[$i]['link'] = "admin/category.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/category.png' ; +$i++; +$adminmenu[$i]['title'] = _MI_PROFILE_FIELDS; +$adminmenu[$i]['link'] = "admin/field.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/index.png' ; +$i++; +$adminmenu[$i]['title'] = _MI_PROFILE_STEPS; +$adminmenu[$i]['link'] = "admin/step.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/stats.png' ; +$i++; +$adminmenu[$i]['title'] = _MI_PROFILE_PERMISSIONS; +$adminmenu[$i]['link'] = "admin/permissions.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/permissions.png' ; +$i++; +$adminmenu[$i]['title'] = _MI_PROFILE_ABOUT; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32.'/about.png'; Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/permissions.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/permissions.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/permissions.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,109 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: permissions.php 13016 2015-03-15 18:21:22Z timgno $ + */ +include 'admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation('permissions.php'); + +$op = isset($_REQUEST['op']) ? $_REQUEST['op'] : "edit"; + +$perm_desc = ""; +switch ($op) { +case "visibility": + //redirect_header("visibility.php", 0, _AM_PROFILE_PROF_VISIBLE); + header("Location: visibility.php"); + break; + +case "edit": + $title_of_form = _AM_PROFILE_PROF_EDITABLE; + $perm_name = "profile_edit"; + $restriction = "field_edit"; + $anonymous = false; + break; + +case "search": + $title_of_form = _AM_PROFILE_PROF_SEARCH; + $perm_name = "profile_search"; + $restriction = ""; + $anonymous = true; + break; + +case "access": + $title_of_form = _AM_PROFILE_PROF_ACCESS; + $perm_name = "profile_access"; + $perm_desc = _AM_PROFILE_PROF_ACCESS_DESC; + $restriction = ""; + $anonymous = true; + break; +} + +include_once $GLOBALS['xoops']->path( "/class/xoopsformloader.php" ); +$opform = new XoopsSimpleForm('', 'opform', 'permissions.php', "get"); +$op_select = new XoopsFormSelect("", 'op', $op); +$op_select->setExtra('onchange="document.forms.opform.submit()"'); +$op_select->addOption('visibility', _AM_PROFILE_PROF_VISIBLE); +$op_select->addOption('edit', _AM_PROFILE_PROF_EDITABLE); +$op_select->addOption('search', _AM_PROFILE_PROF_SEARCH); +$op_select->addOption('access', _AM_PROFILE_PROF_ACCESS); +$opform->addElement($op_select); +$opform->display(); + +$module_id = $GLOBALS['xoopsModule']->getVar('mid'); +include_once $GLOBALS['xoops']->path( '/class/xoopsform/grouppermform.php' ); +$form = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, 'admin/permissions.php', $anonymous); + +if ($op == "access") { + $member_handler =& xoops_gethandler('member'); + $glist = $member_handler->getGroupList(); + foreach (array_keys($glist) as $i ) { + if ($i != XOOPS_GROUP_ANONYMOUS) { + $form->addItem($i, $glist[$i]); + } + } + +} else { + $profile_handler =& xoops_getmodulehandler('profile'); + $fields = $profile_handler->loadFields(); + + if ($op != "search") { + foreach (array_keys($fields) as $i ) { + if ( $restriction == "" || $fields[$i]->getVar($restriction) ) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25) ); + } + } + } else { + $searchable_types = array('textbox', + 'select', + 'radio', + 'yesno', + 'date', + 'datetime', + 'timezone', + 'language'); + foreach (array_keys($fields) as $i ) { + if ( in_array($fields[$i]->getVar('field_type'), $searchable_types) ) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25) ); + } + } + } +} +$form->display(); +include 'admin_footer.php'; +//xoops_cp_footer(); Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/step.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/step.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/admin/step.php 2015-03-14 18:51:12 UTC (rev 13016) @@ -0,0 +1,114 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: step.php 12360 2014-03-08 09:46:59Z beckmi $ + */ +include 'admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); + +$indexAdmin->addItemButton(_ADD . ' ' . _AM_PROFILE_... [truncated message content] |
From: <txm...@us...> - 2015-03-17 10:35:03
|
Revision: 13018 http://sourceforge.net/p/xoops/svn/13018 Author: txmodxoops Date: 2015-03-17 10:35:00 +0000 (Tue, 17 Mar 2015) Log Message: ----------- Updated Fixed bugs Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/activate.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changemail.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changepass.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/register.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/search.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/userinfo.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/menu.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_banners.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_blocks.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_comments.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_groups.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_help.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_images.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_maintenance.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_modules_confirm.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_pagenav.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_smilies.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_templates.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_userrank.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_users.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/system_pagenav.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.html Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -234,12 +234,12 @@ case "folder": if (!is_dir($value)) { - $line .= "<span style='color : red; font-weight : bold;'>"; + $line .= "<span class='red bold'>"; $line .= "<img src='" . $path . "0.png' >"; $line .= sprintf(_AM_MODULEADMIN_CONFIG_FOLDERKO, $value); $line .= "</span>\n"; } else { - $line .= "<span style='color : green;'>"; + $line .= "<span class='green'>"; $line .= "<img src='" . $path . "1.png' >"; $line .= sprintf(_AM_MODULEADMIN_CONFIG_FOLDEROK, $value); $line .= "</span>\n"; @@ -249,12 +249,12 @@ case "chmod": if (is_dir($value[0])) { if (substr(decoct(fileperms($value[0])),2) != $value[1]) { - $line .= "<span style='color : red; font-weight : bold;'>"; + $line .= "<span class='red bold'>"; $line .= "<img src='" . $path . "0.png' >"; $line .= sprintf(_AM_MODULEADMIN_CONFIG_CHMOD, $value[0], $value[1], substr(decoct(fileperms($value[0])),2)); $line .= "</span>\n"; } else { - $line .= "<span style='color : green;'>"; + $line .= "<span class='green'>"; $line .= "<img src='" . $path . "1.png' >"; $line .= sprintf(_AM_MODULEADMIN_CONFIG_CHMOD, $value[0], $value[1], substr(decoct(fileperms($value[0])),2)); $line .= "</span>\n"; @@ -278,10 +278,10 @@ { $ret = "<table class=\"table table-stripped\">\n<tr>\n"; $ret .= "<td width=\"auto\">\n"; - $ret .= $this -> renderMenuIndex(); + $ret .= $this->renderMenuIndex(); $ret .= "</td>\n"; $ret .= "<td width=\"auto\">\n"; - $ret .= $this -> renderInfoBox(); + $ret .= $this->renderInfoBox(); $ret .= "</td>\n"; $ret .= "</tr>\n"; // If you use a config label @@ -296,9 +296,9 @@ $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/"; if ($this->_obj->getInfo('min_php')) { if (version_compare(phpversion(), $this->_obj->getInfo('min_php'), '<')) { - $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_PHP, $this->_obj->getInfo('min_php'), phpversion()) . "</span>\n"; + $ret .= "<span class='red bold'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_PHP, $this->_obj->getInfo('min_php'), phpversion()) . "</span>\n"; } else { - $ret .= "<span style='color : green;'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_PHP, $this->_obj->getInfo('min_php'), phpversion()) . "</span>\n"; + $ret .= "<span class='green'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_PHP, $this->_obj->getInfo('min_php'), phpversion()) . "</span>\n"; } $ret .= "<br />"; } @@ -341,18 +341,18 @@ } } if ($reqVer > $curVer) { - $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(XOOPS_DB_TYPE.' '._AM_MODULEADMIN_CONFIG_DB, $dbRequiredVersion, $dbCurrentVersion) . "</span><br />\n"; + $ret .= "<span class='red bold'><img src='" . $path . "0.png' >" . sprintf(XOOPS_DB_TYPE.' '._AM_MODULEADMIN_CONFIG_DB, $dbRequiredVersion, $dbCurrentVersion) . "</span><br />\n"; } else { - $ret .= "<span style='color : green;'><img src='" . $path . "1.png' >" . sprintf(strtoupper(XOOPS_DB_TYPE).' '._AM_MODULEADMIN_CONFIG_DB, $dbRequiredVersion, $dbCurrentVersion) . "</span><br />\n"; + $ret .= "<span class='green'><img src='" . $path . "1.png' >" . sprintf(strtoupper(XOOPS_DB_TYPE).' '._AM_MODULEADMIN_CONFIG_DB, $dbRequiredVersion, $dbCurrentVersion) . "</span><br />\n"; } } // xoops version if ($this->_obj->getInfo('min_xoops')) { if (substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6) < $this->_obj->getInfo('min_xoops')) { - $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_XOOPS, $this->_obj->getInfo('min_xoops'), substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6)) . "</span>\n"; + $ret .= "<span class='red bold'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_XOOPS, $this->_obj->getInfo('min_xoops'), substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6)) . "</span>\n"; } else { - $ret .= "<span style='color : green;'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_XOOPS, $this->_obj->getInfo('min_xoops'), substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6)) . "</span>\n"; + $ret .= "<span class='green'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_XOOPS, $this->_obj->getInfo('min_xoops'), substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6)) . "</span>\n"; } $ret .= "<br />"; } @@ -360,9 +360,9 @@ // ModuleAdmin version if ($this->_obj->getInfo('min_admin')) { if ($this->getVersion() < $this->_obj->getInfo('min_admin')) { - $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_ADMIN, $this->_obj->getInfo('min_admin'), $this->getVersion()) . "</span>\n"; + $ret .= "<span class='red bold'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_ADMIN, $this->_obj->getInfo('min_admin'), $this->getVersion()) . "</span>\n"; } else { - $ret .= "<span style='color : green;'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_ADMIN, $this->_obj->getInfo('min_admin'), $this->getVersion()) . "</span>\n"; + $ret .= "<span class='green'><img src='" . $path . "1.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_ADMIN, $this->_obj->getInfo('min_admin'), $this->getVersion()) . "</span>\n"; } $ret .= "<br />"; } @@ -567,7 +567,7 @@ foreach (array_keys( $this->_obj->adminmenu) as $i) { if ($this->_obj->adminmenu[$i]['link'] == "admin/" . $menu) { $navigation .= $this->_obj->adminmenu[$i]['title'] . " | "; - $ret = "<div class=\"CPbigTitle\" style=\"background-image: url(" . $path . $this->_obj->adminmenu[$i]['icon'] . "); background-repeat: no-repeat; background-position: left; padding-left: 50px;\"> + $ret = "<div class=\"CPbigTitle\" style=\"background-image: url(" . $path . $this->_obj->adminmenu[$i]['icon'] . "); background-repeat: no-repeat; background-position: left; padding: 20px 1px 20px 50px;\"> <strong>" . $this->_obj->adminmenu[$i]['title'] . "</strong></div><br />"; } else { $navigation .= "<a href = '../" . $this->_obj->adminmenu[$i]['link'] . "'>" . $this->_obj->adminmenu[$i]['title'] . "</a> | "; @@ -577,7 +577,6 @@ $navigation .= "<a href = '../../system/admin.php?fct=preferences&op=showmod&mod=" . $this->_obj->getVar('mid') . "'>" . _MI_SYSTEM_ADMENU6 . "</a>"; $ret = $navigation . "<br /><br />" . $ret; } - return $ret; } } Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -157,7 +157,7 @@ $size = ' pagination-' . $size; } $xoopsTpl->assign('size', $size); - $xoopsTpl->assign('align', ' pagination-' . $align); + $xoopsTpl->assign('align', ' pull-' . $align); $xoopsTpl->assign('pagination_nav', true); $ret = $xoopsTpl->fetch('db:system_pagenav.html'); $xoopsTpl->clear_assign('xo_nav'); Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/activate.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/activate.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/activate.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -105,5 +105,5 @@ $form->display(); } -$xoBreadcrumbs[] = array('title' => _PROFILE_MA_REGISTER); +$xoBreadcrumbs[] = array('title' => _MA_PROFILE_REGISTER); include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php'; Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changemail.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changemail.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changemail.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -32,9 +32,9 @@ if (!isset($_POST['submit']) || !isset($_POST['passwd'])) { //show change password form include_once $GLOBALS['xoops']->path('class/xoopsformloader.php'); - $form = new XoopsThemeForm(_PROFILE_MA_CHANGEMAIL, 'emailform', $_SERVER['REQUEST_URI'], 'post', true); + $form = new XoopsThemeForm(_MA_PROFILE_CHANGEMAIL, 'emailform', $_SERVER['REQUEST_URI'], 'post', true); $form->addElement(new XoopsFormPassword(_US_PASSWORD, 'passwd', 15, 50), true); - $form->addElement(new XoopsFormText(_PROFILE_MA_NEWMAIL, 'newmail', 15, 50), true); + $form->addElement(new XoopsFormText(_MA_PROFILE_NEWMAIL, 'newmail', 15, 50), true); $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); $form->assign($GLOBALS['xoopsTpl']); } else { @@ -43,7 +43,7 @@ $email = @$myts->stripSlashesGPC(trim($_POST['newmail'])); $errors = array(); if (md5($pass) != $GLOBALS['xoopsUser']->getVar('pass', 'n')) { - $errors[] = _PROFILE_MA_WRONGPASSWORD; + $errors[] = _MA_PROFILE_WRONGPASSWORD; } if (!checkEmail($email)) { $errors[] = _US_INVALIDMAIL; @@ -57,7 +57,7 @@ $member_handler =& xoops_gethandler('member'); if ($member_handler->insertUser($GLOBALS['xoopsUser'])) { - $msg = _PROFILE_MA_EMAILCHANGED; + $msg = _MA_PROFILE_EMAILCHANGED; //send email to new email address $xoopsMailer =& xoops_getMailer(); @@ -71,7 +71,7 @@ $xoopsMailer->setToEmails($email); $xoopsMailer->setFromEmail($GLOBALS['xoopsConfig']['adminmail']); $xoopsMailer->setFromName($GLOBALS['xoopsConfig']['sitename']); - $xoopsMailer->setSubject(sprintf(_PROFILE_MA_NEWEMAIL, $GLOBALS['xoopsConfig']['sitename'])); + $xoopsMailer->setSubject(sprintf(_MA_PROFILE_NEWEMAIL, $GLOBALS['xoopsConfig']['sitename'])); $xoopsMailer->send(); } else { @@ -81,6 +81,6 @@ redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['xoopsModule']->getVar('dirname', 'n') . '/userinfo.php?uid=' . $GLOBALS['xoopsUser']->getVar('uid'), 2, $msg); } -$xoBreadcrumbs[] = array('title' => _PROFILE_MA_CHANGEMAIL); +$xoBreadcrumbs[] = array('title' => _MA_PROFILE_CHANGEMAIL); include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php'; Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changepass.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changepass.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/changepass.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -29,14 +29,14 @@ if (!isset($_POST['submit'])) { //show change password form include_once $GLOBALS['xoops']->path('class/xoopsformloader.php'); - $form = new XoopsThemeForm(_PROFILE_MA_CHANGEPASSWORD, 'form', $_SERVER['REQUEST_URI'], 'post', true); - $form->addElement(new XoopsFormPassword(_PROFILE_MA_OLDPASSWORD, 'oldpass', 15, 50), true); - $form->addElement(new XoopsFormPassword(_PROFILE_MA_NEWPASSWORD, 'newpass', 15, 50), true); + $form = new XoopsThemeForm(_MA_PROFILE_CHANGEPASSWORD, 'form', $_SERVER['REQUEST_URI'], 'post', true); + $form->addElement(new XoopsFormPassword(_MA_PROFILE_OLDPASSWORD, 'oldpass', 15, 50), true); + $form->addElement(new XoopsFormPassword(_MA_PROFILE_NEWPASSWORD, 'newpass', 15, 50), true); $form->addElement(new XoopsFormPassword(_US_VERIFYPASS, 'vpass', 15, 50), true); $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); $form->assign($GLOBALS['xoopsTpl']); - $xoBreadcrumbs[] = array('title' => _PROFILE_MA_CHANGEPASSWORD); + $xoBreadcrumbs[] = array('title' => _MA_PROFILE_CHANGEPASSWORD); } else { $config_handler =& xoops_gethandler('config'); @@ -47,7 +47,7 @@ $vpass = @$myts->stripSlashesGPC(trim($_POST['vpass'])); $errors = array(); if (md5($oldpass) != $GLOBALS['xoopsUser']->getVar('pass', 'n')) { - $errors[] = _PROFILE_MA_WRONGPASSWORD; + $errors[] = _MA_PROFILE_WRONGPASSWORD; } if (strlen($password) < $GLOBALS['xoopsConfigUser']['minpass']) { $errors[] = sprintf(_US_PWDTOOSHORT, $GLOBALS['xoopsConfigUser']['minpass']); @@ -64,9 +64,9 @@ $member_handler =& xoops_gethandler('member'); if ($member_handler->insertUser($GLOBALS['xoopsUser'])) { - $msg = _PROFILE_MA_PASSWORDCHANGED; + $msg = _MA_PROFILE_PASSWORDCHANGED; } else { - $msg = _PROFILE_MA_ERRORDURINGSAVE; + $msg = _MA_PROFILE_ERRORDURINGSAVE; } } redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['xoopsModule']->getVar('dirname', 'n') . '/userinfo.php?uid=' . $GLOBALS['xoopsUser']->getVar('uid'), 2, $msg); Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/register.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/register.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/register.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -64,7 +64,7 @@ // First step is already secured by with the captcha Token so lets check the others if ($current_step > 0 && !$GLOBALS['xoopsSecurity']->check()) { - redirect_header('user.php', 5, _PROFILE_MA_EXPIRED); + redirect_header('user.php', 5, _MA_PROFILE_EXPIRED); exit(); } @@ -73,7 +73,7 @@ $regstep_handler = xoops_getmodulehandler('regstep'); if (!$steps = $regstep_handler->getAll($criteria, null, false, false)) { - redirect_header(XOOPS_URL . '/', 6, _PROFILE_MA_NOSTEPSAVAILABLE); + redirect_header(XOOPS_URL . '/', 6, _MA_PROFILE_NOSTEPSAVAILABLE); exit(); } @@ -81,13 +81,13 @@ $steps[$key]['step_no'] = $key + 1; } -$xoopsOption['template_main'] = 'profile_register.html'; +$xoopsOption['template_main'] = 'profile_register.tpl'; include $GLOBALS['xoops']->path('header.php'); $GLOBALS['xoopsTpl']->assign('steps', $steps); -$GLOBALS['xoopsTpl']->assign('lang_register_steps', _PROFILE_MA_REGISTER_STEPS); +$GLOBALS['xoopsTpl']->assign('lang_register_steps', _MA_PROFILE_REGISTER_STEPS); -$xoBreadcrumbs[] = array('link' => XOOPS_URL . "/modules/" . $GLOBALS['xoopsModule']->getVar('dirname', 'n') . '/register.php', 'title' => _PROFILE_MA_REGISTER); +$xoBreadcrumbs[] = array('link' => XOOPS_URL . "/modules/" . $GLOBALS['xoopsModule']->getVar('dirname', 'n') . '/register.php', 'title' => _MA_PROFILE_REGISTER); if (isset($steps[$current_step])) { $xoBreadcrumbs[] = array('title' => $steps[$current_step]['step_name']); } @@ -252,7 +252,7 @@ $message = ""; if (!$member_handler->addUserToGroup(XOOPS_GROUP_USERS, $newuser->getVar('uid'))) { - $message = _PROFILE_MA_REGISTER_NOTGROUP . "<br />"; + $message = _MA_PROFILE_REGISTER_NOTGROUP . "<br />"; } else if ($GLOBALS['xoopsConfigUser']['activation_type'] == 1) { XoopsUserUtility::sendWelcome($newuser); } else if ($GLOBALS['xoopsConfigUser']['activation_type'] == 0) { @@ -311,10 +311,10 @@ $GLOBALS['xoopsTpl']->assign('stop', $stop); } else { // No errors and no more steps, finish - $GLOBALS['xoopsTpl']->assign('finish', _PROFILE_MA_REGISTER_FINISH); + $GLOBALS['xoopsTpl']->assign('finish', _MA_PROFILE_REGISTER_FINISH); $GLOBALS['xoopsTpl']->assign('current_step', -1); if ( $GLOBALS['xoopsConfigUser']['activation_type'] == 1 && !empty($_SESSION['profile_post']['pass'])) { - $GLOBALS['xoopsTpl']->assign('finish_login', _PROFILE_MA_FINISH_LOGIN); + $GLOBALS['xoopsTpl']->assign('finish_login', _MA_PROFILE_FINISH_LOGIN); $GLOBALS['xoopsTpl']->assign('finish_uname', $newuser->getVar('uname')); $GLOBALS['xoopsTpl']->assign('finish_pass', htmlspecialchars($_SESSION['profile_post']['pass'])); } Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/search.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/search.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/search.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -79,8 +79,8 @@ switch ($fields[$i]->getVar('field_type')) { case "textbox": if ($fields[$i]->getVar('field_valuetype') == XOBJ_DTYPE_INT) { - $searchform->addElement(new XoopsFormText(sprintf(_PROFILE_MA_LARGERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_larger", 35, 35)); - $searchform->addElement(new XoopsFormText(sprintf(_PROFILE_MA_SMALLERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_smaller", 35, 35)); + $searchform->addElement(new XoopsFormText(sprintf(_MA_PROFILE_LARGERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_larger", 35, 35)); + $searchform->addElement(new XoopsFormText(sprintf(_MA_PROFILE_SMALLERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_smaller", 35, 35)); } else { $tray = new XoopsFormElementTray($fields[$i]->getVar('field_title')); $tray->addElement(new XoopsFormSelectMatchOption('', $fields[$i]->getVar('field_name')."_match")); @@ -111,8 +111,8 @@ case "date": case "datetime": - $searchform->addElement(new XoopsFormTextDateSelect(sprintf(_PROFILE_MA_LATERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_larger", 15, 0)); - $searchform->addElement(new XoopsFormTextDateSelect(sprintf(_PROFILE_MA_EARLIERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_smaller", 15, time())); + $searchform->addElement(new XoopsFormTextDateSelect(sprintf(_MA_PROFILE_LATERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_larger", 15, 0)); + $searchform->addElement(new XoopsFormTextDateSelect(sprintf(_MA_PROFILE_EARLIERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_smaller", 15, time())); break; case "timezone": @@ -132,36 +132,36 @@ } asort($sortby_arr); $sortby_arr = array_merge(array("" => _NONE, "uname" =>_US_NICKNAME, "email" => _US_EMAIL), $sortby_arr); - $sortby_select = new XoopsFormSelect(_PROFILE_MA_SORTBY, 'sortby'); + $sortby_select = new XoopsFormSelect(_MA_PROFILE_SORTBY, 'sortby'); $sortby_select->addOptionArray($sortby_arr); $searchform->addElement($sortby_select); - $order_select = new XoopsFormRadio(_PROFILE_MA_ORDER, 'order', 0); + $order_select = new XoopsFormRadio(_MA_PROFILE_ORDER, 'order', 0); $order_select->addOption(0, _ASCENDING); $order_select->addOption(1, _DESCENDING); $searchform->addElement($order_select); - $limit_text = new XoopsFormText(_PROFILE_MA_PERPAGE, 'limit', 15, 10, $limit_default); + $limit_text = new XoopsFormText(_MA_PROFILE_PERPAGE, 'limit', 15, 10, $limit_default); $searchform->addElement($limit_text); $searchform->addElement(new XoopsFormHidden('op', 'results')); $searchform->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); $searchform->assign($GLOBALS['xoopsTpl']); - $GLOBALS['xoopsTpl']->assign('page_title', _PROFILE_MA_SEARCH); + $GLOBALS['xoopsTpl']->assign('page_title', _MA_PROFILE_SEARCH); //added count user $member_handler =& xoops_gethandler('member'); $acttotal = $member_handler->getUserCount(new Criteria('level', 0, '>')); - $total = sprintf(_PROFILE_MA_ACTUS, "<span style='color:#ff0000;'>{$acttotal}</span>"); + $total = sprintf(_MA_PROFILE_ACTUS, "<span style='color:#ff0000;'>{$acttotal}</span>"); $GLOBALS['xoopsTpl']->assign('total_users', $total); break; case "results": $xoopsOption['template_main'] = "profile_results.tpl"; include_once $GLOBALS['xoops']->path('header.php'); - $GLOBALS['xoopsTpl']->assign('page_title', _PROFILE_MA_RESULTS); + $GLOBALS['xoopsTpl']->assign('page_title', _MA_PROFILE_RESULTS); $xoBreadcrumbs[] = array('link' => XOOPS_URL . "/modules/" . $GLOBALS['xoopsModule']->getVar('dirname', 'n') . '/search.php', 'title' => _SEARCH); - $xoBreadcrumbs[] = array('title' => _PROFILE_MA_RESULTS); + $xoBreadcrumbs[] = array('title' => _MA_PROFILE_RESULTS); $member_handler =& xoops_gethandler('member'); // Dynamic fields @@ -390,7 +390,7 @@ list($users, $profiles, $total_users) = $profile_handler->search($criteria, $searchvars,$searchgroups); - $total =sprintf(_PROFILE_MA_FOUNDUSER, "<span class='red'>{$total_users}</span>")." "; + $total =sprintf(_MA_PROFILE_FOUNDUSER, "<span class='red'>{$total_users}</span>")." "; $GLOBALS['xoopsTpl']->assign('total_users', $total); //Sort information Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/userinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/userinfo.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/userinfo.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -45,7 +45,7 @@ $GLOBALS['xoopsTpl']->assign('user_ownpage', true); $GLOBALS['xoopsTpl']->assign('lang_editprofile', _US_EDITPROFILE); - $GLOBALS['xoopsTpl']->assign('lang_changepassword', _PROFILE_MA_CHANGEPASSWORD); + $GLOBALS['xoopsTpl']->assign('lang_changepassword', _MA_PROFILE_CHANGEPASSWORD); $GLOBALS['xoopsTpl']->assign('lang_avatar', _US_AVATAR); $GLOBALS['xoopsTpl']->assign('lang_inbox', _US_INBOX); $GLOBALS['xoopsTpl']->assign('lang_logout', _US_LOGOUT); @@ -219,6 +219,6 @@ $GLOBALS['xoopsTpl']->assign('uname', $thisUser->getVar('uname')); $GLOBALS['xoopsTpl']->assign('email', $email); $GLOBALS['xoopsTpl']->assign('avatar', $avatar); -$GLOBALS['xoopsTpl']->assign('recent_activity', _PROFILE_MA_RECENTACTIVITY); -$xoBreadcrumbs[] = array('title' => _PROFILE_MA_USERINFO); +$GLOBALS['xoopsTpl']->assign('recent_activity', _MA_PROFILE_RECENTACTIVITY); +$xoBreadcrumbs[] = array('title' => _MA_PROFILE_USERINFO); include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php'; Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/menu.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/menu.php 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/menu.php 2015-03-17 10:35:00 UTC (rev 13018) @@ -190,9 +190,9 @@ $menu .= "<td style='text-align: right; padding-top: 18px;'><strong>" . $this->_obj->getVar( 'name' ) . "</strong> : " . $breadcrumb . "</td>"; $menu .= "</tr>\n</table>\n"; $menu .= "</div>\n"; - $menu .= "<ul class=\"nav nav-tabs\">"; + $menu .= "<ul class=\"nav nav-tabs nav-module\">"; foreach ($this->_menutabs as $k => $v) { - $menu .= "<li id='" . $menuItems[$i] . " role=\"presentation\"'><a href='" . XOOPS_URL . "/modules/" . $this->_obj->getVar( 'dirname' ) . "/" . $k . "'><span>$v</span></a></li>\n"; + $menu .= "<li id='" . $menuItems[$i] . "' role=\"presentation\"><a href='" . XOOPS_URL . "/modules/" . $this->_obj->getVar( 'dirname' ) . "/" . $k . "'><span>$v</span></a></li>\n"; $i++; } $menu .= "</ul>\n"; Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_banners.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_banners.html 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_banners.html 2015-03-17 10:35:00 UTC (rev 13018) @@ -1,59 +1,61 @@ <{includeq file="db:system_header.html"}> <!--Banner--> <table class='table table-striped'> - <tr> - <{if $banner_count == true}> - <td> - <h4><{$smarty.const._AM_SYSTEM_BANNERS_CURACTBNR}></h4> - </td> - <{/if}> - <td> - <div class="pull-right"> - <div class="xo-buttons"> - <a class="ui-corner-all btn" href="admin.php?fct=banners&op=new_banner" title="<{$smarty.const._AM_SYSTEM_BANNERS_ADDNWBNR}>"> - <img src="<{xoAdminIcons attach.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_ADDNWBNR}>" /> - <{$smarty.const._AM_SYSTEM_BANNERS_ADDNWBNR}> - </a> - <a class="ui-corner-all btn" href="admin.php?fct=banners&op=new_client" title="<{$smarty.const._AM_SYSTEM_BANNERS_ADDCLI}>"> - <img src="<{xoAdminIcons user_add.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_ADDCLI}>" /> - <{$smarty.const._AM_SYSTEM_BANNERS_ADDCLI}> - </a> + <tbody> + <tr> + <{if $banner_count == true}> + <td> + <h4><{$smarty.const._AM_SYSTEM_BANNERS_CURACTBNR}></h4> + </td> + <{/if}> + <td> + <div class="pull-right"> + <div class="xo-buttons"> + <a class="ui-corner-all btn" href="admin.php?fct=banners&op=new_banner" title="<{$smarty.const._AM_SYSTEM_BANNERS_ADDNWBNR}>"> + <img src="<{xoAdminIcons attach.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_ADDNWBNR}>" /> + <{$smarty.const._AM_SYSTEM_BANNERS_ADDNWBNR}> + </a> + <a class="ui-corner-all btn" href="admin.php?fct=banners&op=new_client" title="<{$smarty.const._AM_SYSTEM_BANNERS_ADDCLI}>"> + <img src="<{xoAdminIcons user_add.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_ADDCLI}>" /> + <{$smarty.const._AM_SYSTEM_BANNERS_ADDCLI}> + </a> + </div> </div> - </div> - </td> - </tr> + </td> + </tr> + </tbody> </table> <{if $banner_count == true}> <table id="xo-bannerslist-sorter" class="table table-striped"> <thead> - <tr> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_IMPRESION}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_IMPLEFT}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLICKS}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_NCLICKS}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLINAME}></th> - <th class="text-center width10"><{$smarty.const._AM_SYSTEM_BANNERS_FUNCTION}></th> - </tr> + <tr> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_IMPRESION}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_IMPLEFT}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLICKS}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_NCLICKS}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLINAME}></th> + <th class="text-center width10"><{$smarty.const._AM_SYSTEM_BANNERS_FUNCTION}></th> + </tr> </thead> <tbody> - <{foreach item=banner from=$banner}> - <tr class="<{cycle values='even,odd'}>"> - <td class="text-center"><{$banner.impmade}></td> - <td class="text-center"><{$banner.left}></td> - <td class="text-center"><{$banner.clicks}></td> - <td class="text-center"><{$banner.percent}>%</td> - <td class="text-center"><{$banner.name}></td> - <td class="xo-actions text-center"> - <img onclick="display_dialog(<{$banner.bid}>, true, true, 'slide', 'slide', 200, 520);" src="<{xoAdminIcons display.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_VIEW}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_VIEW}>" /> - <a href="admin.php?fct=banners&op=banner_edit&bid=<{$banner.bid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_EDIT}>"> - <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_EDIT}>" /> - </a> - <a href="admin.php?fct=banners&op=banner_delete&bid=<{$banner.bid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>"> - <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>" /> - </a> - </td> - </tr> - <{/foreach}> + <{foreach item=banner from=$banner}> + <tr class="<{cycle values='even,odd'}>"> + <td class="text-center"><{$banner.impmade}></td> + <td class="text-center"><{$banner.left}></td> + <td class="text-center"><{$banner.clicks}></td> + <td class="text-center"><{$banner.percent}>%</td> + <td class="text-center"><{$banner.name}></td> + <td class="xo-actions text-center"> + <img onclick="display_dialog(<{$banner.bid}>, true, true, 'slide', 'slide', 200, 520);" src="<{xoAdminIcons display.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_VIEW}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_VIEW}>" /> + <a href="admin.php?fct=banners&op=banner_edit&bid=<{$banner.bid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_EDIT}>"> + <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_EDIT}>" /> + </a> + <a href="admin.php?fct=banners&op=banner_delete&bid=<{$banner.bid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>"> + <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>" /> + </a> + </td> + </tr> + <{/foreach}> </tbody> </table> <div class="clear spacer"></div> @@ -74,32 +76,32 @@ <h4><{$smarty.const._AM_SYSTEM_BANNERS_FINISHBNR}></h4> <table id="xo-bannersfinish-sorter" class="table table-striped"> <thead> - <tr> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_IMPD}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLICKS}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_NCLICKS}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_STARTDATE}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_ENDDATE}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLINAME}></th> - <th class="text-center width10"><{$smarty.const._AM_SYSTEM_BANNERS_FUNCTION}></th> - </tr> + <tr> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_IMPD}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLICKS}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_NCLICKS}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_STARTDATE}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_ENDDATE}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLINAME}></th> + <th class="text-center width10"><{$smarty.const._AM_SYSTEM_BANNERS_FUNCTION}></th> + </tr> </thead> <tbody> - <{foreach item=banner_finish from=$banner_finish}> - <tr class="<{cycle values='even,odd'}>"> - <td class="text-center"><{$banner_finish.impressions}></td> - <td class="text-center"><{$banner_finish.clicks}></td> - <td class="text-center"><{$banner_finish.percent}>%</td> - <td class="text-center"><{$banner_finish.datestart}></td> - <td class="text-center"><{$banner_finish.dateend}></td> - <td class="text-center"><{$banner_finish.name}></td> - <td class="xo-actions text-center"> - <a href="admin.php?fct=banners&op=banner_finish_delete&bid=<{$banner_finish.bid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>"> - <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>" /> - </a> - </td> - </tr> - <{/foreach}> + <{foreach item=banner_finish from=$banner_finish}> + <tr class="<{cycle values='even,odd'}>"> + <td class="text-center"><{$banner_finish.impressions}></td> + <td class="text-center"><{$banner_finish.clicks}></td> + <td class="text-center"><{$banner_finish.percent}>%</td> + <td class="text-center"><{$banner_finish.datestart}></td> + <td class="text-center"><{$banner_finish.dateend}></td> + <td class="text-center"><{$banner_finish.name}></td> + <td class="xo-actions text-center"> + <a href="admin.php?fct=banners&op=banner_finish_delete&bid=<{$banner_finish.bid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>"> + <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>" /> + </a> + </td> + </tr> + <{/foreach}> </tbody> </table> <div class="clear spacer"></div> @@ -114,31 +116,31 @@ <h4><{$smarty.const._AM_SYSTEM_BANNERS_ADVCLI}></h4> <table id="xo-bannersclient-sorter" class="table table-striped"> <thead> - <tr> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLINAME}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_ACTIVEBNR}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CONTNAME}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CONTMAIL}></th> - <th class="text-center width10"><{$smarty.const._AM_SYSTEM_BANNERS_FUNCTION}></th> - </tr> + <tr> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CLINAME}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_ACTIVEBNR}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CONTNAME}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_BANNERS_CONTMAIL}></th> + <th class="text-center width10"><{$smarty.const._AM_SYSTEM_BANNERS_FUNCTION}></th> + </tr> </thead> <tbody> - <{foreach item=banner_client from=$banner_client}> - <tr class="<{cycle values='even,odd'}>"> - <td class="text-center"><{$banner_client.name}></td> - <td class="text-center"><{$banner_client.banner_active}></td> - <td class="text-center"><{$banner_client.contact}></td> - <td class="text-center"><{$banner_client.email}></td> - <td class="xo-actions text-center"> - <a href="admin.php?fct=banners&op=banner_client_edit&cid=<{$banner_client.cid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_EDIT}>"> - <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_EDIT}>" /> - </a> - <a href="admin.php?fct=banners&op=banner_client_delete&cid=<{$banner_client.cid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>"> - <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>" /> - </a> - </td> - </tr> - <{/foreach}> + <{foreach item=banner_client from=$banner_client}> + <tr class="<{cycle values='even,odd'}>"> + <td class="text-center"><{$banner_client.name}></td> + <td class="text-center"><{$banner_client.banner_active}></td> + <td class="text-center"><{$banner_client.contact}></td> + <td class="text-center"><{$banner_client.email}></td> + <td class="xo-actions text-center"> + <a href="admin.php?fct=banners&op=banner_client_edit&cid=<{$banner_client.cid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_EDIT}>"> + <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_EDIT}>" /> + </a> + <a href="admin.php?fct=banners&op=banner_client_delete&cid=<{$banner_client.cid}>" title="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>"> + <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_SYSTEM_BANNERS_DELETE}>" /> + </a> + </td> + </tr> + <{/foreach}> </tbody> </table> <div class="clear spacer"></div> @@ -150,5 +152,5 @@ <br /> <!-- Display Avatar form (add,edit) --> <{if $form}> -<div class="spacer"><{$form}></div> +<div class="form-inline"><{$form}></div> <{/if}> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_blocks.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_blocks.html 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_blocks.html 2015-03-17 10:35:00 UTC (rev 13018) @@ -7,7 +7,7 @@ <{if $filterform}> <div class="pull-right"> <div class="xo-buttons"> - <button id="xo-add-btn" class="btn" onclick="self.location.href='admin.php?fct=blocksadmin&op=add';"> + <button id="xo-add-btn" class="btn btn-default" onclick="self.location.href='admin.php?fct=blocksadmin&op=add';"> <img src="<{xoAdminIcons add.png}>" alt="<{$smarty.const._AM_SYSTEM_BLOCKS_ADD}>" /> <{$smarty.const._AM_SYSTEM_BLOCKS_ADD}> </button> @@ -15,92 +15,100 @@ </div> <div class="clear"></div> <div id="xo-block-dragndrop"> - <table class="table table-striped"> - <tr> - <th> - <form name="<{$filterform.name}>" id="<{$filterform.name}>" action="<{$filterform.action}>" method="<{$filterform.method}>" <{$filterform.extra}> > - <div class="xo-blocksfilter"> - <{foreach item=element from=$filterform.elements}> - <{if $element.hidden != true}> - <div class="xo-caption"><{$element.caption}></div> - <div class="xo-element"><{$element.body}></div> - <{else}> - <{$element.body}> - <{/if}> - <{/foreach}> - </div> - </form> - </th> - </tr> - <tr> - <td> - <table id="xo-block-managment" class="table table-striped"> - <tr> - <td side="0" class="xo-blocksection" rowspan="3" id="xo-leftcolumn"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDELEFT}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=0}> - </td> - <td side="3" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDETOPLEFT}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=3}> - </td> - <td side="5" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDETOPCENTER}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=5}> - </td> - <td side="4" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDETOPRIGHT}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=4}> - </td> - <td side="1" class="xo-blocksection" rowspan="3" id="xo-rightcolumn"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDERIGHT}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=1}> - </td> - </tr> - <tr style="height:30px;"> - <td colspan="3" class="xo-blockContent width5"> </td> - </tr> - <tr> - <td side="7" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEBOTTOMLEFT}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=7}> - </td> - <td side="9" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEBOTTOMCENTER}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=9}> - </td> - <td side="8" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEBOTTOMRIGHT}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=8}> - </td> - </tr> - <tr> - <!-- Start Footer Blocks (By Timgno) --> - <table id="xo-block-footer" class="table table-striped"> + <table class="table table-bordered"> + <thead> + <tr> + <th> + <form name="<{$filterform.name}>" id="<{$filterform.name}>" action="<{$filterform.action}>" method="<{$filterform.method}>" <{$filterform.extra}> > + <div class="xo-blocksfilter"> + <{foreach item=element from=$filterform.elements}> + <{if $element.hidden != true}> + <div class="xo-caption"><{$element.caption}></div> + <div class="xo-element"><{$element.body}></div> + <{else}> + <{$element.body}> + <{/if}> + <{/foreach}> + </div> + </form> + </th> + </tr> + </thead> + <tbody> + <tr> + <td> + <table id="xo-block-managment" class="table table-striped"> + <tbody> <tr> - <td side="10" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERLEFT}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=10}> + <td side="0" class="xo-blocksection" rowspan="3" id="xo-leftcolumn"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDELEFT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=0}> </td> - <td side="12" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERCENTER}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=12}> + <td side="3" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDETOPLEFT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=3}> </td> - <td side="11" class="xo-blocksection"> - <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERRIGHT}></div> - <{includeq file="db:system_blocks_item.html" blocks=$blocks side=11}> + <td side="5" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDETOPCENTER}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=5}> </td> + <td side="4" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDETOPRIGHT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=4}> + </td> + <td side="1" class="xo-blocksection" rowspan="3" id="xo-rightcolumn"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDERIGHT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=1}> + </td> </tr> - </table> - <!-- End Footer Blocks (By Timgno) --> - </tr> - </table> - </td> - </tr> + <tr style="height:30px;"> + <td colspan="3" class="xo-blockContent width5"> </td> + </tr> + <tr> + <td side="7" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEBOTTOMLEFT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=7}> + </td> + <td side="9" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEBOTTOMCENTER}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=9}> + </td> + <td side="8" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEBOTTOMRIGHT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=8}> + </td> + </tr> + <tr> + <!-- Start Footer Blocks (By Timgno) --> + <table id="xo-block-footer" class="table table-striped"> + <tbody> + <tr> + <td side="10" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERLEFT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=10}> + </td> + <td side="12" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERCENTER}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=12}> + </td> + <td side="11" class="xo-blocksection"> + <div class="xo-title"><{$smarty.const._AM_SYSTEM_BLOCKS_SIDEFOOTERRIGHT}></div> + <{includeq file="db:system_blocks_item.html" blocks=$blocks side=11}> + </td> + </tr> + </tbody> + </table> + <!-- End Footer Blocks (By Timgno) --> + </tr> + </tbody> + </table> + </td> + </tr> + </tbody> </table> </div> <{/if}> -<div id="xo-block-add" <{if $filterform}>class="hide"<{/if}>> +<div class="form-inline" id="xo-block-add" <{if $filterform}>class="hide"<{/if}>> <{if !$filterform}><br /><{/if}> <{$blockform}> </div> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_comments.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_comments.html 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_comments.html 2015-03-17 10:35:00 UTC (rev 13018) @@ -1,7 +1,7 @@ <{includeq file="db:system_header.html"}> <!--Comments--> <{if $form}> -<div class="spacer"><{$form}></div> +<div class="form-inline"><{$form}></div> <{else}> <div class="pull-left"><{$form_sort}></div> <div class="pull-right"> @@ -15,47 +15,47 @@ <div class="clear"></div> <table id="xo-comment-sorter" class="table table-striped"> <thead> - <tr> - <th class="text-center width5"><input type='checkbox' name='allbox' id='allbox' onclick='xoopsCheckAll("commentslist", "allbox");' value='Check All' /></th> - <th class="text-center width5"></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_TITLE}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_POSTED}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_IP}></th> - <th class="text-center"><{$smarty.const._DATE}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_MODULE}></th> - <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_STATUS}></th> - <th class="text-center width10"><{$smarty.const._AM_SYSTEM_COMMENTS_ACTION}></th> - </tr> - </thead> + <tr> + <th class="text-center width5"><input type='checkbox' name='allbox' id='allbox' onclick='xoopsCheckAll("commentslist", "allbox");' value='Check All' /></th> + <th class="text-center width5"></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_TITLE}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_POSTED}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_IP}></th> + <th class="text-center"><{$smarty.const._DATE}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_MODULE}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_COMMENTS_STATUS}></th> + <th class="text-center width10"><{$smarty.const._AM_SYSTEM_COMMENTS_ACTION}></th> + </tr> + </thead> <form name='commentslist' id='commentslist' action='<{$php_selft}>' method="post"> - <tbody> - <{foreach item=comments from=$comments}> - <tr class="<{cycle values='even,odd'}> alignmiddle"> - <td class="text-center"><input type='checkbox' name='commentslist_id[]' id='commentslist_id[]' value='<{$comments.comments_id}>'/></td> - <td class="text-center"><{$comments.comments_icon}></td> - <td><{$comments.comments_title}></td> - <td class="text-center"><{$comments.comments_poster}></td> - <td class="text-center"><{$comments.comments_ip}></td> - <td class="text-center"><{$comments.comments_date}></td> - <td class="text-center"><{$comments.comments_modid}></td> - <td class="text-center"><{$comments.comments_status}></td> - <td class="xo-actions text-center"> - <img class="cursorpointer" onclick="display_dialog('<{$comments.comments_id}>', true, true, 'slide', 'slide', 300, 500);" src="<{xoAdminIcons display.png}>" alt="<{$smarty.const._AM_SYSTEM_COMMENTS_VIEW}>" title="<{$smarty.const._AM_SYSTEM_COMMENTS_VIEW}>" /> - <a href="admin/comments/comment_edit.php?com_id=<{$comments.comments_id}>" title="<{$smarty.const._EDIT}>"> - <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>"> - </a> - <a href="admin/comments/comment_delete.php?com_id=<{$comments.comments_id}>" title="<{$smarty.const._DELETE}>"> - <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>"> - </a> - </td> - </tr> - <{/foreach}> - </tbody> - <tr> - <td><input type='submit' class="btn btn-danger" name='<{$smarty.const._DELETE}>' value='<{$smarty.const._DELETE}>' /></td> - <td colspan="7"> </td> - </tr> - </form> + <tbody> + <{foreach item=comments from=$comments}> + <tr class="<{cycle values='even,odd'}> alignmiddle"> + <td class="text-center"><input type='checkbox' name='commentslist_id[]' id='commentslist_id[]' value='<{$comments.comments_id}>'/></td> + <td class="text-center"><{$comments.comments_icon}></td> + <td><{$comments.comments_title}></td> + <td class="text-center"><{$comments.comments_poster}></td> + <td class="text-center"><{$comments.comments_ip}></td> + <td class="text-center"><{$comments.comments_date}></td> + <td class="text-center"><{$comments.comments_modid}></td> + <td class="text-center"><{$comments.comments_status}></td> + <td class="xo-actions text-center"> + <img class="cursorpointer" onclick="display_dialog('<{$comments.comments_id}>', true, true, 'slide', 'slide', 300, 500);" src="<{xoAdminIcons display.png}>" alt="<{$smarty.const._AM_SYSTEM_COMMENTS_VIEW}>" title="<{$smarty.const._AM_SYSTEM_COMMENTS_VIEW}>" /> + <a href="admin/comments/comment_edit.php?com_id=<{$comments.comments_id}>" title="<{$smarty.const._EDIT}>"> + <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>"> + </a> + <a href="admin/comments/comment_delete.php?com_id=<{$comments.comments_id}>" title="<{$smarty.const._DELETE}>"> + <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>"> + </a> + </td> + </tr> + <{/foreach}> + <tr> + <td><input type='submit' class="btn btn-danger" name='<{$smarty.const._DELETE}>' value='<{$smarty.const._DELETE}>' /></td> + <td colspan="7"> </td> + </tr> + </tbody> + </form> </table> <{foreach item=comments from=$comments_popup}> <!--Pop-pup--> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_groups.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_groups.html 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_groups.html 2015-03-17 10:35:00 UTC (rev 13018) @@ -3,7 +3,7 @@ <{if $groups_count == true}> <div class="pull-right"> <div class="xo-buttons"> - <button class="ui-corner-all btn" onclick="self.location.href='admin.php?fct=groups&op=groups_add'"> + <button class="btn btn-default" onclick="self.location.href='admin.php?fct=groups&op=groups_add'"> <img src="<{xoAdminIcons add.png}>" alt="<{$smarty.const._AM_SYSTEM_GROUPS_ADD}>" /> <{$smarty.const._AM_SYSTEM_GROUPS_ADD}> </button> @@ -12,32 +12,32 @@ <table id="xo-group-sorter" class="table table-striped tablesorter"> <thead> <tr> - <th class="txtcenter width5"><{$smarty.const._AM_SYSTEM_GROUPS_ID}></th> - <th class="txtcenter width20"><{$smarty.const._AM_SYSTEM_GROUPS_NAME}></th> - <th class="txtcenter"><{$smarty.const._AM_SYSTEM_GROUPS_DESCRIPTION}></th> - <th class="txtcenter"><{$smarty.const._AM_SYSTEM_GROUPS_NB_USERS_BY_GROUPS}></th> - <th class="txtcenter width10"><{$smarty.const._AM_SYSTEM_GROUPS_ACTION}></th> + <th class="text-center width5"><{$smarty.const._AM_SYSTEM_GROUPS_ID}></th> + <th class="text-center width20"><{$smarty.const._AM_SYSTEM_GROUPS_NAME}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_GROUPS_DESCRIPTION}></th> + <th class="text-center"><{$smarty.const._AM_SYSTEM_GROUPS_NB_USERS_BY_GROUPS}></th> + <th class="text-center width10"><{$smarty.const._AM_SYSTEM_GROUPS_ACTION}></th> </tr> </thead> <tbody> <{foreach item=groups from=$groups}> <tr class="<{cycle values='odd, even'}> alignmiddle"> - <td class="txtcenter"><{$groups.groups_id}></td> - <td class="txtleft"> - <a class="tooltip" href="admin.php?fct=groups&op=groups_edit&groups_id=<{$groups.groups_id}>" title="<{$smarty.const._AM_SYSTEM_GROUPS_EDIT}>"> + <td class="text-center"><{$groups.groups_id}></td> + <td class="text-left"> + <a href="admin.php?fct=groups&op=groups_edit&groups_id=<{$groups.groups_id}>" title="<{$smarty.const._AM_SYSTEM_GROUPS_EDIT}>"> <{$groups.name}> </a> </td> - <td class="txtleft"><{$groups.description}></td> - <td class="txtcenter width25"> + <td class="text-left"><{$groups.description}></td> + <td class="text-center width25"> <a href="./admin.php?fct=users&selgroups=<{$groups.groups_id}>"><{$groups.nb_users_by_groups}></a> </td> - <td class="xo-actions txtcenter"> - <a class="tooltip" href="admin.php?fct=groups&op=groups_edit&groups_id=<{$groups.groups_id}>" title="<{$smarty.const._AM_SYSTEM_GROUPS_EDIT}>"> + <td class="xo-actions text-center"> + <a href="admin.php?fct=groups&op=groups_edit&groups_id=<{$groups.groups_id}>" title="<{$smarty.const._AM_SYSTEM_GROUPS_EDIT}>"> <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._AM_SYSTEM_GROUPS_EDIT}>" /> </a> <{if $groups.delete}> - <a class="tooltip" href="admin.php?fct=groups&op=groups_delete&groups_id=<{$groups.groups_id}>" title="<{$smarty.const._AM_SYSTEM_GROUPS_DELETE}>"> + <a href="admin.php?fct=groups&op=groups_delete&groups_id=<{$groups.groups_id}>" title="<{$smarty.const._AM_SYSTEM_GROUPS_DELETE}>"> <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_SYSTEM_GROUPS_DELETE}>" /> </a> <{/if}> @@ -54,5 +54,5 @@ <{/if}> <!-- Display groups form (add,edit) --> <{if $form}> -<div class="spacer"><{$form}></div> +<div class="form-inline"><{$form}></div> <{/if}> \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_help.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_help.html 2015-03-16 10:31:53 UTC (rev 13017) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/templates/admin/system_help... [truncated message content] |
From: <txm...@us...> - 2015-03-19 19:09:35
|
Revision: 13020 http://sourceforge.net/p/xoops/svn/13020 Author: txmodxoops Date: 2015-03-19 19:09:25 +0000 (Thu, 19 Mar 2015) Log Message: ----------- Updated Fixed bugs Fixed responsive for mobiles Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/admin/blocksadmin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/italian/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/defines.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/block.php Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/defines.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/defines.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/include/defines.php 2015-03-19 19:09:25 UTC (rev 13020) @@ -0,0 +1,123 @@ +<?php +/** + * XOOPS constansts + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package kernel + * @since 2.0.0 + * @version $Id: defines.php 12033 2013-09-14 03:16:44Z beckmi $ + */ + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +/** + * Define required Defines (I guess lol ) + */ +define('XOOPS_SIDEBLOCK_LEFT', 0); +define('XOOPS_SIDEBLOCK_RIGHT', 1); +define('XOOPS_SIDEBLOCK_BOTH', 2); +define('XOOPS_CENTERBLOCK_LEFT', 3); +define('XOOPS_CENTERBLOCK_RIGHT', 4); +define('XOOPS_CENTERBLOCK_CENTER', 5); +define('XOOPS_CENTERBLOCK_ALL', 6); +define('XOOPS_CENTERBLOCK_BOTTOMLEFT', 7); +define('XOOPS_CENTERBLOCK_BOTTOMRIGHT', 8); +define('XOOPS_CENTERBLOCK_BOTTOM', 9); +//bottom blocks (Timgno) +define('XOOPS_FOOTERBLOCK_LEFT', 10); +define('XOOPS_FOOTERBLOCK_RIGHT', 11); +define('XOOPS_FOOTERBLOCK_CENTER', 12); +define('XOOPS_FOOTERBLOCK_ALL', 13); + +define('XOOPS_BLOCK_INVISIBLE', 0); +define('XOOPS_BLOCK_VISIBLE', 1); +define('XOOPS_MATCH_START', 0); +define('XOOPS_MATCH_END', 1); +define('XOOPS_MATCH_EQUAL', 2); +define('XOOPS_MATCH_CONTAIN', 3); +// YOU SHOULD AVOID USING THE FOLLOWING CONSTANTS, THEY WILL BE REMOVED +define('XOOPS_THEME_PATH', XOOPS_ROOT_PATH . '/themes'); +define('XOOPS_ADMINTHEME_PATH', XOOPS_ROOT_PATH . '/modules/system/themes'); +define('XOOPS_UPLOAD_PATH', XOOPS_ROOT_PATH . '/uploads'); +define('XOOPS_LIBRARY_PATH', XOOPS_ROOT_PATH . '/libraries'); +define('XOOPS_THEME_URL', XOOPS_URL . '/themes'); +define('XOOPS_ADMINTHEME_URL', XOOPS_URL . '/modules/system/themes'); +define('XOOPS_UPLOAD_URL', XOOPS_URL . '/uploads'); +define('XOOPS_LIBRARY_URL', XOOPS_URL . '/libraries'); + +// ----- BEGIN: Deprecated, move to template class ----- +// define('SMARTY_DIR', XOOPS_ROOT_PATH . '/class/smarty/'); +define('XOOPS_COMPILE_PATH', XOOPS_VAR_PATH . '/caches/smarty_compile'); +define('XOOPS_CACHE_PATH', XOOPS_VAR_PATH . '/caches/xoops_cache'); +// ----- END: Deprecated, move to template class ----- + +if (!defined('XOOPS_XMLRPC')) { + define('XOOPS_DB_CHKREF', 1); +} else { + define('XOOPS_DB_CHKREF', 0); +} + +/** + * User Mulitbytes + */ +// if ( !defined( 'XOOPS_USE_MULTIBYTES' ) ) { +// define('XOOPS_USE_MULTIBYTES', 0 ); +// } + +// IT IS A WRONG PLACE FOR THE FOLLOWING CONSTANTS +/* + * Some language definitions that cannot be translated + */ +define('_XOOPS_FATAL_MESSAGE', "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html xmlns='http://www.w3.org/1999/xhtml'> +<head> +<meta http-equiv='Content-Type' content='text/html; charset=utf-8;charset=utf-8' /> +<title>Internal server error</title> +<style type='text/css'> +* { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif;} +body {font-size: 12px; background-color: #f0f0f0; text-align: center;} +#xo-siteblocked { + border: 1px solid #c0c4c0; + width: 375px; + height: 318px; + margin: 150px auto; + text-align: center; + background-color: #fff; + background-image: url(images/img_errors.png); + background-repeat: no-repeat; + background-position: 30px 50px; + padding-left: 300px; + padding-right: 30px; + border-radius: 15px; + -moz-border-radius: 15px; + -webkit-border-radius: 15px; +} + #xo-siteblocked h1 {font-size: 1.7em; margin: 45px 0 30px 0;} + #xo-siteblocked h2 {font-size: 1.5em; margin: 0 0 30px 0;} + #xo-siteblocked h1, h2 {font-weight: normal; text-shadow: 1px 1px 2px #ccc;} + #xo-siteblocked a, #xo-siteblocked a:visited {color: #2cb0ff; text-decoration: none;} + #xo-siteblocked p { font-size: 1.3em; margin-top: 12px; line-height: 2em;} + #xo-siteblocked p.xo-siteblocked-message { height: 70px;} + #xo-siteblocked p.xo-siteblocked-desc { font-size: .9em; font-style: italic; margin-top: 25px;} +</style> +</head> +<body> + <div id='xo-siteblocked'> + <h1>A problem has occurred on our server!</h1> + <h2>Page is currently unavailable</h2> + <p class='xo-siteblocked-message'>We are working on a fix<br /><a href='/'>Please come back soon ...</a></p> + <p class='xo-siteblocked-desc'>Error : %s</p> + </div> +</body> +</html>" +); + +define('_XOOPS_FATAL_BACKTRACE', "Backtrace"); Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/block.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/block.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/class/block.php 2015-03-19 19:09:25 UTC (rev 13020) @@ -0,0 +1,620 @@ +<?php +/** + * Block Class Manager +* + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package system + * @version $Id: block.php 12868 2014-11-23 20:41:51Z txmodxoops $ + */ +// defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined'); + +require_once XOOPS_ROOT_PATH . '/kernel/block.php'; + +/** + * System Block + * + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) + * @package system + */ +class SystemBlock extends XoopsBlock +{ + /** + * + */ + function __construct() + { + parent::__construct(); + } + + /** + * @param string $mode + * + * @return XoopsThemeForm + */ + function getForm($mode='edit') + { + if ($this->isNew()) { + $title = _AM_SYSTEM_BLOCKS_ADDBLOCK; + $modules = array(-1); + $groups = array( XOOPS_GROUP_USERS, XOOPS_GROUP_ANONYMOUS, XOOPS_GROUP_ADMIN ); + $this->setVar('block_type', 'C'); + $this->setVar('visible',1); + $op = 'save'; + } else { + // Search modules + $blocklinkmodule_handler =& xoops_getmodulehandler('blocklinkmodule'); + $criteria = new CriteriaCompo(new Criteria('block_id', $this->getVar('bid') )); + $blocklinkmodule = $blocklinkmodule_handler->getObjects($criteria); + foreach ($blocklinkmodule as $link) { + $modules[] = $link->getVar('module_id'); + } + // Saerch perms + $groupperm_handler =& xoops_gethandler('groupperm'); + $groups =& $groupperm_handler->getGroupIds('block_read', $this->getVar('bid')); + switch ($mode) { + case 'edit': + $title = _AM_SYSTEM_BLOCKS_EDITBLOCK; + break; + case 'clone': + $title = _AM_SYSTEM_BLOCKS_CLONEBLOCK; + $this->setVar('bid', 0); + if ( $this->isCustom() ) { + $this->setVar('block_type', 'C'); + } else { + $this->setVar('block_type', 'D'); + } + break; + } + $op = 'save'; + } + $form = new XoopsThemeForm($title, 'blockform', 'admin.php', 'post', true); + if (!$this->isNew()) { + $form->addElement(new XoopsFormLabel(_AM_SYSTEM_BLOCKS_NAME, $this->getVar('name'))); + } + // Side position + $side_select = new XoopsFormSelect(_AM_SYSTEM_BLOCKS_TYPE, 'side', $this->getVar('side')); + $side_select->addOptionArray(array( + 0 => _AM_SYSTEM_BLOCKS_SBLEFT, + 1 => _AM_SYSTEM_BLOCKS_SBRIGHT, + 3 => _AM_SYSTEM_BLOCKS_CBLEFT, + 4 => _AM_SYSTEM_BLOCKS_CBRIGHT, + 5 => _AM_SYSTEM_BLOCKS_CBCENTER, + 7 => _AM_SYSTEM_BLOCKS_CBBOTTOMLEFT, + 8 => _AM_SYSTEM_BLOCKS_CBBOTTOMRIGHT, + 9 => _AM_SYSTEM_BLOCKS_CBBOTTOM, + 10 => _AM_SYSTEM_BLOCKS_CBFOOTERLEFT, + 11 => _AM_SYSTEM_BLOCKS_CBFOOTERRIGHT, + 12 => _AM_SYSTEM_BLOCKS_CBFOOTERCENTER)); + + $form->addElement($side_select); + // Order + $form->addElement(new XoopsFormText(_AM_SYSTEM_BLOCKS_WEIGHT, 'weight', 2, 5, $this->getVar('weight'))); + // Display + $form->addElement(new XoopsFormRadioYN(_AM_SYSTEM_BLOCKS_VISIBLE, 'visible', $this->getVar('visible'))); + // Visible In + $mod_select = new XoopsFormSelect(_AM_SYSTEM_BLOCKS_VISIBLEIN, 'modules', $modules, 5, true); + $module_handler =& xoops_gethandler('module'); + $criteria = new CriteriaCompo(new Criteria('hasmain', 1)); + $criteria->add(new Criteria('isactive', 1)); + $module_list = $module_handler->getList($criteria); + $module_list[-1] = _AM_SYSTEM_BLOCKS_TOPPAGE; + $module_list[0] = _AM_SYSTEM_BLOCKS_ALLPAGES; + ksort($module_list); + $mod_select->addOptionArray($module_list); + $form->addElement($mod_select); + // Title + $form->addElement(new XoopsFormText(_AM_SYSTEM_BLOCKS_TITLE, 'title', 50, 255, $this->getVar('title')), false ); + if ($this->isNew() || $this->isCustom()) { + $editor_configs=array(); + $editor_configs["name"] ="content_block"; + $editor_configs["value"] = $this->getVar('content', 'e'); + $editor_configs["rows"] = 20; + $editor_configs["cols"] = 100; + $editor_configs["width"] = "100%"; + $editor_configs["height"] = "400px"; + $editor_configs["editor"] = xoops_getModuleOption('blocks_editor', 'system'); + $form->addElement(new XoopsFormEditor(_AM_SYSTEM_BLOCKS_CONTENT, "content_block", $editor_configs), true); + if ( in_array( $editor_configs["editor"], array('dhtmltextarea','textarea' ) ) ) { + $ctype_select = new XoopsFormSelect(_AM_SYSTEM_BLOCKS_CTYPE, 'c_type', $this->getVar('c_type')); + $ctype_select->addOptionArray(array( + 'H' => _AM_SYSTEM_BLOCKS_HTML, + 'P' => _AM_SYSTEM_BLOCKS_PHP, + 'S' => _AM_SYSTEM_BLOCKS_AFWSMILE, + 'T' => _AM_SYSTEM_BLOCKS_AFNOSMILE)); + $form->addElement($ctype_select); + } else { + $form->addElement(new XoopsFormHidden('c_type', 'H')); + } + } else { + if ($this->getVar('template') != '') { + $tplfile_handler =& xoops_gethandler('tplfile'); + $btemplate = $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block', $this->getVar('bid') ); + if (count($btemplate) > 0) { + $form->addElement(new XoopsFormLabel(_AM_SYSTEM_BLOCKS_CONTENT, '<a href="' . XOOPS_URL . '/modules/system/admin.php?fct=tplsets&op=edittpl&id=' . $btemplate[0]->getVar('tpl_id') . '">' . _AM_SYSTEM_BLOCKS_EDITTPL . '</a>')); + } else { + $btemplate2 = $tplfile_handler->find('default', 'block', $this->getVar('bid')); + if (count($btemplate2) > 0) { + $form->addElement(new XoopsFormLabel(_AM_SYSTEM_BLOCKS_CONTENT, '<a href="' . XOOPS_URL . '/modules/system/admin.php?fct=tplsets&op=edittpl&id=' . $btemplate2[0]->getVar('tpl_id') . '" rel="external">' . _AM_SYSTEM_BLOCKS_EDITTPL . '</a>')); + } + } + } + if ( $this->getOptions() != false ) { + $form->addElement(new XoopsFormLabel(_AM_SYSTEM_BLOCKS_OPTIONS, $this->getOptions())); + } else { + $form->addElement(new XoopsFormHidden('options', $this->getVar('options'))); + } + $form->addElement(new XoopsFormHidden('c_type', 'H')); + } + $cache_select = new XoopsFormSelect(_AM_SYSTEM_BLOCKS_BCACHETIME, 'bcachetime', $this->getVar('bcachetime')); + $cache_select->addOptionArray(array( + '0' => _NOCACHE, + '30' => sprintf(_SECONDS, 30), + '60' => _MINUTE, + '300' => sprintf(_MINUTES, 5), + '1800' => sprintf(_MINUTES, 30), + '3600' => _HOUR, + '18000' => sprintf(_HOURS, 5), + '86400' => _DAY, + '259200' => sprintf(_DAYS, 3), + '604800' => _WEEK, + '2592000' => _MONTH)); + $form->addElement($cache_select); + // Groups + $form->addElement(new XoopsFormSelectGroup( _AM_SYSTEM_BLOCKS_GROUP, 'groups', true, $groups, 5, true) ); + + $form->addElement(new XoopsFormHidden('block_type', $this->getVar('block_type'))); + $form->addElement(new XoopsFormHidden('mid', $this->getVar('mid'))); + $form->addElement(new XoopsFormHidden('func_num', $this->getVar('func_num'))); + $form->addElement(new XoopsFormHidden('func_file', $this->getVar('func_file'))); + $form->addElement(new XoopsFormHidden('show_func', $this->getVar('show_func'))); + $form->addElement(new XoopsFormHidden('edit_func', $this->getVar('edit_func'))); + $form->addElement(new XoopsFormHidden('template', $this->getVar('template'))); + $form->addElement(new XoopsFormHidden('dirname', $this->getVar('dirname'))); + $form->addElement(new XoopsFormHidden('name', $this->getVar('name'))); + $form->addElement(new XoopsFormHidden('bid', $this->getVar('bid'))); + $form->addElement(new XoopsFormHidden('op', $op )); + $form->addElement(new XoopsFormHidden('fct', 'blocksadmin')); + $button_tray = new XoopsFormElementTray('', ' '); + if ($this->isNew() || $this->isCustom()) { + $preview = new XoopsFormButton('', 'previewblock', _PREVIEW, 'preview'); + $preview->setExtra("onclick=\"blocks_preview();\""); + $button_tray->addElement( $preview ); + } + $button_tray->addElement(new XoopsFormButton('', 'submitblock', _SUBMIT, 'submit')); + $form->addElement($button_tray); + + return $form; + } + + /** + * XoopsBlock::getOptions() + * + * @return bool|string + */ + function getOptions() + { + global $xoopsConfig; + if (!$this->isCustom()) { + $edit_func = $this->getVar('edit_func'); + if (!$edit_func) { + return false; + } + if (file_exists($GLOBALS['xoops']->path('modules/' . $this->getVar('dirname') . '/blocks/' . $this->getVar('func_file')))) { + if (file_exists($file = $GLOBALS['xoops']->path('modules/' . $this->getVar('dirname') . '/language/' . $xoopsConfig['language'] . '/blocks.php'))) { + include_once $file; + } elseif (file_exists($file = $GLOBALS['xoops']->path('modules/' . $this->getVar('dirname') . '/language/english/blocks.php'))) { + include_once $file; + } + include_once $GLOBALS['xoops']->path('modules/' . $this->getVar('dirname') . '/blocks/' . $this->getVar('func_file')); + $options = explode("|", $this->getVar("options")); + $edit_form = $edit_func($options); + if (!$edit_form) { + return false; + } + + return $edit_form; + } else { + return false; + } + } else { + return false; + } + } + + /** + * @return bool + */ + function isCustom() + { + if ($this->getVar('block_type') == 'C') return true; + return false; + } + + /** + * do stripslashes/htmlspecialchars according to the needed output + * + * @param \output|string $format output use: S for Show and E for Edit + * @param string|\type $c_type type of block content + * + * @returns string + */ + function getContent($format = 's', $c_type = 'T') + { + $format = strtolower($format); + $c_type = strtoupper($c_type); + switch ($format) { + case 's': + // check the type of content + // H : custom HTML block + // P : custom PHP block + // S : use text sanitizater (smilies enabled) + // T : use text sanitizater (smilies disabled) + if ($c_type == 'H') { + return str_replace('{X_SITEURL}', XOOPS_URL . '/', $this->getVar('content', 'n')); + } else if ($c_type == 'P') { + ob_start(); + echo eval($this->getVar('content', 'n')); + $content = ob_get_contents(); + ob_end_clean(); + + return str_replace('{X_SITEURL}', XOOPS_URL . '/', $content); + } else if ($c_type == 'S') { + $myts =& MyTextSanitizer::getInstance(); + $content = str_replace('{X_SITEURL}', XOOPS_URL . '/', $this->getVar('content', 'n')); + + return $myts->displayTarea($content, 1, 1); + } else { + $myts =& MyTextSanitizer::getInstance(); + $content = str_replace('{X_SITEURL}', XOOPS_URL . '/', $this->getVar('content', 'n')); + + return $myts->displayTarea($content, 1, 0); + } + break; + case 'e': + return $this->getVar('content', 'e'); + break; + default: + return $this->getVar('content', 'n'); + break; + } + } +} + +/** + * System block handler class. (Singelton) + * + * This class is responsible for providing data access mechanisms to the data source + * of XOOPS block class objects. + * + * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org) + * @package system + * @subpackage avatar + */ +class SystemBlockHandler extends XoopsPersistableObjectHandler +{ + /** + * @param null|object $db + */ + function __construct($db) + { + parent::__construct($db, 'newblocks', 'SystemBlock', 'bid', 'title'); + } + + /** + * @param object $obj + * + * @return mixed + */ + function insert($obj) + { + $obj->setVar('last_modified', time()); + + return parent::insert($obj); + } + + /** + * retrieve array of {@link XoopsBlock}s meeting certain conditions + * + * @param object $criteria {@link CriteriaElement} with conditions for the blocks + * @param bool $id_as_key should the blocks' bid be the key for the returned array? + * @return array {@link XoopsBlock}s matching the conditions + **/ + function getObjects($criteria = null, $id_as_key = false) + { + $ret = array(); + $limit = $start = 0; + $sql = 'SELECT DISTINCT(b.bid), b.* FROM ' . $this->db->prefix('newblocks') . ' b LEFT JOIN ' . $this->db->prefix('block_module_link') . ' l ON b.bid=l.block_id'; + if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) { + $sql .= ' ' . $criteria->renderWhere(); + $limit = $criteria->getLimit(); + $start = $criteria->getStart(); + } + $result = $this->db->query($sql, $limit, $start); + if (!$result) { + return $ret; + } + + while ($myrow = $this->db->fetchArray($result)) { + $block = new SystemBlock(); + $block->assignVars($myrow); + if (!$id_as_key) { + $ret[] =& $block; + } else { + $ret[$myrow['bid']] = & $block; + } + unset($block); + } + + return $ret; + } + + /** + * get all the blocks that match the supplied parameters + * + * @param $groupid groupid (can be an array) + * @param bool $asobject + * @param $side + * 0: sideblock - left + * 1: sideblock - right + * 2: sideblock - left and right + * 3: centerblock - left + * 4: centerblock - right + * 5: centerblock - center + * 6: centerblock - left, right, center + * @param $visible 0: not visible 1: visible + * @param \order|string $orderby order of the blocks + * @param int $isactive + * @returns array of block objects + */ + function getAllBlocksByGroup($groupid, $asobject = true, $side = null, $visible = null, $orderby = "b.weight,b.bid", $isactive = 1) + { + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + $ret = array(); + if (!$asobject) { + $sql = 'SELECT b.bid '; + } else { + $sql = 'SELECT b.* '; + } + $sql .= "FROM " . $db->prefix("newblocks") . " b LEFT JOIN " . $db->prefix("group_permission") . " l ON l.gperm_itemid=b.bid WHERE gperm_name = 'block_read' AND gperm_modid = 1"; + if (is_array($groupid)) { + $sql .= " AND (l.gperm_groupid=" . $groupid[0] . ""; + $size = count($groupid); + if ($size > 1) { + for ($i = 1; $i < $size; ++$i) { + $sql .= " OR l.gperm_groupid=" . $groupid[$i] . ""; + } + } + $sql .= ")"; + } else { + $sql .= " AND l.gperm_groupid=" . $groupid . ""; + } + $sql .= " AND b.isactive=" . $isactive; + if (isset($side)) { + // get both sides in sidebox? (some themes need this) + if ($side == XOOPS_SIDEBLOCK_BOTH) { + $side = "(b.side=0 OR b.side=1)"; + } elseif ($side == XOOPS_CENTERBLOCK_ALL) { + $side = "(b.side=3 OR b.side=4 OR b.side=5 OR b.side=7 OR b.side=8 OR b.side=9 )"; + } elseif ($side == XOOPS_FOOTERBLOCK_ALL) { + $side = "(b.side=10 OR b.side=11 OR b.side=12 )"; + } else { + $side = "b.side=" . $side; + } + $sql .= " AND " . $side; + } + if (isset($visible)) { + $sql .= " AND b.visible=$visible"; + } + $sql .= " ORDER BY $orderby"; + $result = $db->query($sql); + $added = array(); + while ($myrow = $db->fetchArray($result)) { + if (!in_array($myrow['bid'], $added)) { + if (!$asobject) { + $ret[] = $myrow['bid']; + } else { + $ret[] = new XoopsBlock($myrow); + } + array_push($added, $myrow['bid']); + } + } + + return $ret; + } + + /** + * @param $groupid + * + * @return array + */ + function getBlockByPerm( $groupid ) + { + $ret = array(); + if (isset($groupid)) { + $sql = "SELECT DISTINCT gperm_itemid FROM " . $this->db->prefix('group_permission') . " WHERE gperm_name = 'block_read' AND gperm_modid = 1"; + if ( is_array($groupid) ) { + $sql .= ' AND gperm_groupid IN (' . implode(',', $groupid) . ')'; + } else { + if (intval($groupid) > 0) { + $sql .= ' AND gperm_groupid=' . intval($groupid); + } + } + $result = $this->db->query($sql); + $blockids = array(); + while ( $myrow = $this->db->fetchArray( $result ) ) { + $blockids[] = $myrow['gperm_itemid']; + } + if (empty($blockids)) { + return $blockids; + } + + return $blockids; + } + } + + /** + * @param $groupid + * @param int $module_id + * @param bool $toponlyblock + * @param null $visible + * @param string $orderby + * @param int $isactive + * + * @return array + */ + function getAllByGroupModule($groupid, $module_id = 0, $toponlyblock = false, $visible = null, $orderby = 'b.weight, m.block_id', $isactive = 1) + { + $isactive = intval($isactive); + $db = $GLOBALS['xoopsDB']; + $ret = array(); + if (isset($groupid)) { + $sql = "SELECT DISTINCT gperm_itemid FROM ".$db->prefix('group_permission')." WHERE gperm_name = 'block_read' AND gperm_modid = 1"; + if ( is_array($groupid) ) { + $sql .= ' AND gperm_groupid IN ('.implode(',', $groupid).')'; + } else { + if (intval($groupid) > 0) { + $sql .= ' AND gperm_groupid='.intval($groupid); + } + } + $result = $db->query($sql); + $blockids = array(); + while ( $myrow = $db->fetchArray($result) ) { + $blockids[] = $myrow['gperm_itemid']; + } + if (empty($blockids)) { + return $blockids; + } + } + $sql = 'SELECT b.* FROM '.$db->prefix('newblocks').' b, '.$db->prefix('block_module_link').' m WHERE m.block_id=b.bid'; + $sql .= ' AND b.isactive='.$isactive; + if (isset($visible)) { + $sql .= ' AND b.visible='.intval($visible); + } + if (!isset($module_id)) { + } elseif (!empty($module_id)) { + $sql .= ' AND m.module_id IN (0,'. intval($module_id); + if ($toponlyblock) { + $sql .= ',-1'; + } + $sql .= ')'; + } else { + if ($toponlyblock) { + $sql .= ' AND m.module_id IN (0,-1)'; + } else { + $sql .= ' AND m.module_id=0'; + } + } + if (!empty($blockids)) { + $sql .= ' AND b.bid IN ('.implode(',', $blockids).')'; + } + $sql .= ' ORDER BY '.$orderby; + $result = $db->query($sql); + while ( $myrow = $db->fetchArray($result) ) { + $block = new XoopsBlock($myrow); + $ret[$myrow['bid']] =& $block; + unset($block); + } + + return $ret; + } + + /** + * @param int $module_id + * @param bool $toponlyblock + * @param null $visible + * @param string $orderby + * @param int $isactive + * + * @return array + */ + function getNonGroupedBlocks($module_id = 0, $toponlyblock = false, $visible = null, $orderby = 'b.weight, m.block_id', $isactive = 1) + { + $db = $GLOBALS['xoopsDB']; + $ret = array(); + $bids = array(); + $sql = "SELECT DISTINCT(bid) from ".$db->prefix('newblocks'); + if ($result = $db->query($sql)) { + while ( $myrow = $db->fetchArray($result) ) { + $bids[] = $myrow['bid']; + } + } + $sql = "SELECT DISTINCT(p.gperm_itemid) from ".$db->prefix('group_permission')." p, ".$db->prefix('groups')." g WHERE g.groupid=p.gperm_groupid AND p.gperm_name='block_read'"; + $grouped = array(); + if ($result = $db->query($sql)) { + while ( $myrow = $db->fetchArray($result) ) { + $grouped[] = $myrow['gperm_itemid']; + } + } + $non_grouped = array_diff($bids, $grouped); + if (!empty($non_grouped)) { + $sql = 'SELECT b.* FROM '.$db->prefix('newblocks').' b, '.$db->prefix('block_module_link').' m WHERE m.block_id=b.bid'; + $sql .= ' AND b.isactive='.intval($isactive); + if (isset($visible)) { + $sql .= ' AND b.visible='.intval($visible); + } + if (!isset($module_id)) { + } elseif (!empty($module_id)) { + $sql .= ' AND m.module_id IN (0,'. intval($module_id); + if ($toponlyblock) { + $sql .= ',-1'; + } + $sql .= ')'; + } else { + if ($toponlyblock) { + $sql .= ' AND m.module_id IN (0,-1)'; + } else { + $sql .= ' AND m.module_id=0'; + } + } + $sql .= ' AND b.bid IN ('.implode(',', $non_grouped).')'; + $sql .= ' ORDER BY '.$orderby; + $result = $db->query($sql); + while ( $myrow = $db->fetchArray($result) ) { + $block = new XoopsBlock($myrow); + $ret[$myrow['bid']] =& $block; + unset($block); + } + } + + return $ret; + } + + /** + * XoopsBlock::countSimilarBlocks() + * + * @param mixed $moduleId + * @param mixed $funcNum + * @param mixed $showFunc + * @return int + */ + function countSimilarBlocks($moduleId, $funcNum, $showFunc = null) + { + $funcNum = intval($funcNum); + $moduleId = intval($moduleId); + if ($funcNum < 1 || $moduleId < 1) { + // invalid query + return 0; + } + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + if (isset($showFunc)) { + // showFunc is set for more strict comparison + $sql = sprintf("SELECT COUNT(*) FROM %s WHERE mid = %d AND func_num = %d AND show_func = %s", $db->prefix('newblocks'), $moduleId, $funcNum, $db->quoteString(trim($showFunc))); + } else { + $sql = sprintf("SELECT COUNT(*) FROM %s WHERE mid = %d AND func_num = %d", $db->prefix('newblocks'), $moduleId, $funcNum); + } + if (!$result = $db->query($sql)) { + return 0; + } + list ($count) = $db->fetchRow($result); + + return $count; + } +} Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/admin/blocksadmin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/admin/blocksadmin.php 2015-03-18 16:03:06 UTC (rev 13019) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/admin/blocksadmin.php 2015-03-19 19:09:25 UTC (rev 13020) @@ -46,6 +46,9 @@ define('_AM_SYSTEM_BLOCKS_CBBOTTOMLEFT',"Center Block - Bottom left"); define('_AM_SYSTEM_BLOCKS_CBBOTTOMRIGHT',"Center Block - Bottom right"); define('_AM_SYSTEM_BLOCKS_CBBOTTOM',"Center Block - Bottom"); +define('_AM_SYSTEM_BLOCKS_CBFOOTERLEFT',"Center Block - Footer left"); +define('_AM_SYSTEM_BLOCKS_CBFOOTERRIGHT',"Center Block - Footer right"); +define('_AM_SYSTEM_BLOCKS_CBFOOTERCENTER',"Center Block - Footer center"); define('_AM_SYSTEM_BLOCKS_WEIGHT',"Weight"); define('_AM_SYSTEM_BLOCKS_VISIBLE',"Visible"); define('_AM_SYSTEM_BLOCKS_VISIBLEIN',"Visible in"); Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-03-18 16:03:06 UTC (rev 13019) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-03-19 19:09:25 UTC (rev 13020) @@ -16,9 +16,14 @@ @import url(tabs.css); /* ==================== General definitions ==================== */ -html { } +html { + width: 100%; + height: 100%; +} body { + width: 100%; + height: 100%; font-family: 'Open Sans', sans-serif; } @@ -168,4 +173,10 @@ .row.row-preferences { margin: 20px 0 0 10px; +} + +@media(max-width:767px) { + .sidenav { + margin-top: -20px; + } } \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js 2015-03-18 16:03:06 UTC (rev 13019) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js 2015-03-19 19:09:25 UTC (rev 13020) @@ -1,7 +1,8 @@ - - - - +/* + * Script for CPanel bootnewage admin theme + * + * Author Txmod Xoops http://www.txmodxoops.org + */ $(document).ready(function(e) { $('ul#tabNav').on('shown', function(e) { e.preventDefault(); @@ -27,17 +28,21 @@ // setup ul.nav.nav-tabs to work as nav-tabs for each div directly under div.panes $("ul.nav.nav-tabs").tabs("div.panes > div"); }); - - $('button#xo-addcat-btn').on('click', function(e) { - e.preventDefault(); - $("div#xo-category-add").toggle(); - }); - - $('button#xo-addimg-btn').on('click', function(e) { - e.preventDefault(); - $("div#xo-images-add").toggle(); - }); - + // Script to show and hide categories and images form of the section system image manager + $(function() { + $('div#xo-category-add').hide(); + $('button#xo-addcat-btn').on('click', function(e) { + e.preventDefault(); + $("div#xo-category-add").toggle(); + $("div#xo-images-add").hide(); + }); + $('div#xo-images-add').hide(); + $('button#xo-addimg-btn').on('click', function(e) { + e.preventDefault(); + $("div#xo-images-add").toggle(); + $("div#xo-category-add").hide(); + }); + }); $(function () { //Load Accordion $("#accordion > h5").bind("click", function(){ Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php 2015-03-18 16:03:06 UTC (rev 13019) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php 2015-03-19 19:09:25 UTC (rev 13020) @@ -74,7 +74,7 @@ $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/bootnewage/assets/css/yellow.css', array('title' => 'yellow', 'media' => 'screen')); $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/bootnewage/assets/css/blue.css', array('title' => 'blue', 'media' => 'screen')); - $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); + $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.min.js'); $xoTheme->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/bootnewage/assets/js/bootstrap.min.js'); $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/bootnewage/assets/js/bootnewage.js'); Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/italian/admin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/italian/admin.php 2015-03-18 16:03:06 UTC (rev 13019) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/italian/admin.php 2015-03-19 19:09:25 UTC (rev 13020) @@ -2,6 +2,10 @@ // $Id: admin.php 12609 2014-06-16 06:30:00Z beckmi $ define('_OXYGEN_SYSOPTIONS',"System Options"); define('_OXYGEN_INSTALLEDMODULES',"Installed Modules"); +define('_OXYGEN_INSTALLEDMODULES_NUM',"N°"); +define('_OXYGEN_INSTALLEDMODULES_IMAGE',"Image"); +define('_OXYGEN_INSTALLEDMODULES_NAME',"Name"); +define('_OXYGEN_INSTALLEDMODULES_DESCRIPTION',"Description"); define('_OXYGEN_XOOPSTHEMES',"XOOPS Themes"); define('_OXYGEN_XOOPSMODULES',"XOOPS Modules"); define('_OXYGEN_INTERESTSITES',"Links"); @@ -37,9 +41,14 @@ define('_OXYGEN_AUTHENTICATION',"Authentication Options"); define('_OXYGEN_MODULESETTINGS',"System Module Settings"); //Add for styles name +define('_OXYGEN_THEME_COLOR',"Theme Color"); +define('_OXYGEN_DARK',"Dark"); define('_OXYGEN_SILVER',"Silver"); -define('_OXYGEN_DARK',"Dark"); define('_OXYGEN_ORANGE',"Orange"); +define('_OXYGEN_RED',"Red"); +define('_OXYGEN_GREEN',"Green"); +define('_OXYGEN_YELLOW',"Yellow"); +define('_OXYGEN_BLUE',"Blue"); //Add 10 des define('_OXYGEN_XOOPS_LICENSE',"XOOPS License"); define('_OXYGEN_RSS',"RSS Feed"); Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.html 2015-03-18 16:03:06 UTC (rev 13019) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.html 2015-03-19 19:09:25 UTC (rev 13020) @@ -1,8 +1,8 @@ <!-- Header --> - <nav id="top-nav" class="navbar navbar-inverse navbar-static-top"> + <nav id="top-nav" class="navbar navbar-inverse navbar-static-top" role="navigation"> <div class="container-fluid"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html 2015-03-18 16:03:06 UTC (rev 13019) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html 2015-03-19 19:09:25 UTC (rev 13020) @@ -1,7 +1,7 @@ <table class="table table-striped table-bordered table-hover"> <thead> <tr> - <h4 colspan="4"><{$smarty.const._OXYGEN_INSTALLEDMODULES}></h4> + <th colspan="4"><{$smarty.const._OXYGEN_INSTALLEDMODULES}></th> </tr> <tr> <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_NUM}></th> |
From: <txm...@us...> - 2015-03-27 09:43:33
|
Revision: 13026 http://sourceforge.net/p/xoops/svn/13026 Author: txmodxoops Date: 2015-03-27 09:43:23 +0000 (Fri, 27 Mar 2015) Log Message: ----------- Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/main.php Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-03-26 23:11:44 UTC (rev 13025) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-03-27 09:43:23 UTC (rev 13026) @@ -280,11 +280,11 @@ 'xoops_dirname' => isset($GLOBALS['xoopsModule'])&& is_object($GLOBALS['xoopsModule']) ? $GLOBALS['xoopsModule']->getVar('dirname') : 'system', 'xoops_banner' => ($GLOBALS['xoopsConfig']['banners'] && $this->renderBanner) ? xoops_getbanner() : ' ', 'xoops_pagetitle' => isset($GLOBALS['xoopsModule']) && is_object($GLOBALS['xoopsModule']) ? $GLOBALS['xoopsModule']->getVar('name') : htmlspecialchars($GLOBALS['xoopsConfig']['slogan'], ENT_QUOTES))); - // From XoopsCore by Timgno + // From XoopsCore by Timgno - Added '/assets/' folder $this->template->assign(array( 'theme_path' => $this->path, 'theme_tpl' => $this->path . '/xotpl', 'theme_url' => $this->url, - 'theme_img' => $this->url . '/img', 'theme_icons' => $this->url . '/icons', - 'theme_css' => $this->url . '/css', 'theme_js' => $this->url . '/js', + 'theme_img' => $this->url . '/assets/img', 'theme_icons' => $this->url . '/assets/icons', + 'theme_css' => $this->url . '/assets/css', 'theme_js' => $this->url . '/assets/js', 'theme_lang' => $this->url . '/language', )); // -------------------------------------------------------------------- @@ -405,7 +405,6 @@ return true; } } - return false; } Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/main.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/main.php 2015-03-27 09:43:23 UTC (rev 13026) @@ -0,0 +1,308 @@ +<?php +// $Id: main.php 12706 2014-07-13 00:21:21Z beckmi $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000-2014 XOOPS Project (www.xoops.org) // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: Kazumi Ono (AKA onokazu) // +// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + +// Check users rights +if ( !is_object($xoopsUser) || !is_object($xoopsModule) || !$xoopsUser->isAdmin($xoopsModule->mid()) ) exit( _NOPERM ); +// Check is active +if ( !xoops_getModuleOption('active_avatars', 'system') ) redirect_header( 'admin.php', 2, _AM_SYSTEM_NOTACTIVE ); +// Get Action type +$op = system_CleanVars ( $_REQUEST, 'op', 'list', 'string' ); + +switch ($op) { + + case 'list': default: + // Define main template + $xoopsOption['template_main'] = 'system_avatars.html'; + // Call Header + xoops_cp_header(); + // Define Stylesheet + $xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/admin.css' ); + $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.min.js'); + $xoTheme->addScript('modules/system/js/admin.js'); + // Define Breadcrumb and tips + $xoBreadCrumb->addLink( _AM_SYSTEM_AVATAR_MANAGER, system_adminVersion('avatars', 'adminpath') ); + $xoBreadCrumb->addHelp( system_adminVersion('avatars', 'help') ); + $xoBreadCrumb->addTips( _AM_SYSTEM_AVATAR_TIPS ); + $xoBreadCrumb->render(); + // Get avatar handler + $avt_handler =& xoops_getmodulehandler('avatar'); + // Get User Config + $config_handler =& xoops_gethandler('config'); + $xoopsConfigUser = $config_handler->getConfigsByCat( XOOPS_CONF_USER ); + // User language + xoops_loadLanguage('user'); + // Count avatars + $savatar_count = $avt_handler->getCount(new Criteria('avatar_type', 'S')); + $cavatar_count = $avt_handler->getCount(new Criteria('avatar_type', 'C')); + // Assign Template variables + $xoopsTpl->assign( 'view_cat', true ); + $xoopsTpl->assign( 'count_system', $savatar_count ); + $xoopsTpl->assign( 'count_custom', $cavatar_count ); + // Create form + $avatar = $avt_handler->create(); + $form = $avatar->getForm(); + // Assign form + $xoopsTpl->assign('form', $form->render()); + // Call Footer + xoops_cp_footer(); + break; + + case 'listavt': + // Get Avatar type + $type = system_CleanVars ( $_REQUEST, 'type', 'c', 'string' ); + $start = system_CleanVars ( $_REQUEST, 'start', 0, 'int' ); + // Define main template + $xoopsOption['template_main'] = 'system_avatars.html'; + // Call Header + xoops_cp_header(); + // Define Stylesheet + $xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/admin.css'); + // Define scripts + $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.min.js'); + $xoTheme->addScript('modules/system/js/admin.js'); + // Define Breadcrumb and tips + $xoBreadCrumb->addLink( _AM_SYSTEM_AVATAR_MANAGER, system_adminVersion('avatars', 'adminpath') ); + $xoBreadCrumb->addLink( ( $type == 's' ? _AM_SYSTEM_AVATAR_SYSTEM : _AM_SYSTEM_AVATAR_CUSTOM ) ); + $xoBreadCrumb->addHelp( system_adminVersion('avatars', 'help') . '#' . $type ); + $xoBreadCrumb->addTips( _AM_SYSTEM_AVATAR_TIPS ); + $xoBreadCrumb->render(); + // Get avatar handler + $avt_handler =& xoops_gethandler('avatar'); + // Count avatars + $savatar_count = $avt_handler->getCount(new Criteria('avatar_type', 'S')); + $cavatar_count = $avt_handler->getCount(new Criteria('avatar_type', 'C')); + // Assign Template variables + $xoopsTpl->assign( 'type', $type); + $xoopsTpl->assign( 'count_system', $savatar_count ); + $xoopsTpl->assign( 'count_custom', $cavatar_count ); + // Filter avatars + $criteria = new Criteria('avatar_type', $type); + $avtcount = $avt_handler->getCount($criteria); + // Get avatar list + $criteria->setStart($start); + $criteria->setLimit( xoops_getModuleOption('avatars_pager', 'system')); + $avatars = $avt_handler->getObjects($criteria, true); + // Construct avatars array + $avatar_list = array(); + $i=0; + foreach (array_keys($avatars) as $i) { + $avatar_list[$i] = $avatars[$i]->toArray(); + $avatar_list[$i]['type'] = $type; + $avatar_list[$i]['count'] = count($avt_handler->getUser($avatars[$i])); + if($type == 'c') { + $user = $avt_handler->getUser($avatars[$i]); + if(is_array($user) && isset($user[0])) $avatar_list[$i]['user'] = $user[0]; + } + } + $xoopsTpl->assign('avatars_list', $avatar_list); + // Display Page Navigation + if ( $avtcount > xoops_getModuleOption('avatars_pager') ) { + $nav = new XoopsPageNav($avtcount, xoops_getModuleOption('avatars_pager', 'system'), $start, 'start', 'fct=avatars&type=' . $type . '&op=listavt'); + $xoopsTpl->assign('nav_menu', $nav->renderNav()); + } + // Call Footer + xoops_cp_footer(); + break; + + case 'edit': + // Define main template + $xoopsOption['template_main'] = 'system_avatars.html'; + // Call Header + xoops_cp_header(); + // Define Stylesheet + $xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/admin.css'); + // Define Breadcrumb and tips + $xoBreadCrumb->addLink( _AM_SYSTEM_AVATAR_MANAGER, system_adminVersion('avatars', 'adminpath') ); + $xoBreadCrumb->addLink( _AM_SYSTEM_AVATAR_EDIT ); + $xoBreadCrumb->addHelp( system_adminVersion('avatars', 'help') . '#edit' ); + $xoBreadCrumb->addTips( _AM_SYSTEM_AVATAR_TIPS ); + $xoBreadCrumb->render(); + // User language + xoops_loadLanguage('user'); + // Get avatar handler + $avt_handler =& xoops_getmodulehandler('avatar'); + $avatar_id = system_CleanVars ( $_REQUEST, 'avatar_id', 0, 'int' ); + if ( $avatar_id > 0 ) { + $avatar = $avt_handler->get( $avatar_id ); + // Create form + $form = $avatar->getForm(); + // Assign form + $xoopsTpl->assign('form', $form->render()); + } else { + redirect_header('admin.php?fct=avatars', 1, _AM_SYSTEM_DBERROR); + } + // Call Footer + xoops_cp_footer(); + break; + + case 'save': + // Check security + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header( 'admin.php?fct=avatars', 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors() ) ); + exit(); + } + $config_handler =& xoops_gethandler( 'config' ); + $xoopsConfigUser = $config_handler->getConfigsByCat( XOOPS_CONF_USER ); + // Upload class + include_once $GLOBALS['xoops']->path( '/class/uploader.php' ); + + $uploader = new XoopsMediaUploader( XOOPS_UPLOAD_PATH . '/avatars', array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png'), $xoopsConfigUser['avatar_maxsize'], $xoopsConfigUser['avatar_width'], $xoopsConfigUser['avatar_height']); + // Get avatar handler + $avt_handler =& xoops_gethandler('avatar'); + // Get avatar id + $avatar_id = system_CleanVars ( $_POST, 'avatar_id', 0, 'int' ); + if ( $avatar_id > 0 ) { + $avatar =& $avt_handler->get( $avatar_id ); + } else { + $avatar =& $avt_handler->create(); + } + $err = array(); + if ($uploader->fetchMedia('avatar_file')) { + $uploader->setPrefix('savt'); + if (!$uploader->upload()) { + $err[] = $uploader->getErrors(); + } else { + $avatar->setVars( $_POST ); + $avatar->setVar('avatar_file', 'avatars/' . $uploader->getSavedFileName() ); + $avatar->setVar('avatar_mimetype', $uploader->getMediaType()); + $avatar->setVar('avatar_type', 's'); + if (!$avt_handler->insert($avatar)) { + $err[] = sprintf(_FAILSAVEIMG, $avatar->getVar('avatar_name') ); + } + } + } else { + $file = system_CleanVars ( $_REQUEST, 'avatar_file', 'blank.gif', 'string' ); + $avatar->setVars($_REQUEST); + $avatar->setVar('avatar_file', 'avatars/' . $file); + if (!$avt_handler->insert($avatar)) { + $err[] = sprintf(_FAILSAVEIMG, $avatar->getVar('avatar_name')); + } + } + if (count($err) > 0) { + // Define main template + $xoopsOption['template_main'] = 'system_header.html'; + // Call header + xoops_cp_header(); + // Define Stylesheet + $xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/admin.css' ); + // Define Breadcrumb and tips + $xoBreadCrumb->addLink( _AM_SYSTEM_AVATAR_MANAGER, system_adminVersion('avatars', 'adminpath') ); + $xoBreadCrumb->addLink( _AM_SYSTEM_AVATAR_ERROR ); + $xoBreadCrumb->render(); + // Dsiplay errors + xoops_error( $err ); + // Call Footer + xoops_cp_footer(); + exit(); + } + redirect_header( 'admin.php?fct=avatars', 2, _AM_SYSTEM_DBUPDATED ); + break; + + case 'display': + // Get avatar handler + $avt_handler =& xoops_gethandler('avatar'); + // Get avatar id + $avatar_id = system_CleanVars ( $_POST, 'avatar_id', 0, 'int' ); + if ( $avatar_id > 0 ) { + // Get avatar + $avatar =& $avt_handler->get( $avatar_id ); + $old = $avatar->getVar('avatar_display'); + // Set value + $avatar->setVar('avatar_display', !$old ); + if (!$avt_handler->insert($avatar)) { + $error=true; + } + } + break; + + case 'delfile': + // Define main template + $xoopsOption['template_main'] = 'system_avatars.html'; + // Call Header + xoops_cp_header(); + // Define Stylesheet + $xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/admin.css'); + // Define Breadcrumb and tips + $xoBreadCrumb->addLink( _AM_SYSTEM_AVATAR_MANAGER, system_adminVersion('avatars', 'adminpath') ); + $xoBreadCrumb->addLink( _AM_SYSTEM_AVATAR_DELETE ); + $xoBreadCrumb->addHelp( system_adminVersion('avatars', 'help') . '#delete' ); + $xoBreadCrumb->render(); + // Get variables + $user_id = system_CleanVars ( $_REQUEST, 'user_id', 0, 'int' ); + $avatar_id = system_CleanVars ( $_REQUEST, 'avatar_id', 0, 'int' ); + // Get avatar handler + $avt_handler =& xoops_gethandler('avatar'); + if ( $avatar_id > 0 ) { + $avatar = $avt_handler->get($avatar_id); + $msg = '<div class="spacer"><img src="' . XOOPS_UPLOAD_URL . '/' . $avatar->getVar('avatar_file','s') . '" alt="" /></div><div class="txtcenter bold">' . $avatar->getVar('avatar_name', 's') . '</div>' . _AM_SYSTEM_AVATAR_SUREDEL; + // Display message + xoops_confirm(array('op' => 'delfileok', 'avatar_id' => $avatar_id, 'fct' => 'avatars', 'user_id' => $user_id), 'admin.php', $msg ); + } else { + redirect_header('admin.php?fct=avatars', 1, _AM_SYSTEM_DBERROR); + } + // Call footer + xoops_cp_footer(); + break; + + case 'delfileok': + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('admin.php?fct=avatars',1, 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + $avatar_id = system_CleanVars ( $_POST, 'avatar_id', 0, 'int' ); + if ($avatar_id <= 0) { + redirect_header('admin.php?fct=avatars', 1, _AM_SYSTEM_DBERROR); + } + $avt_handler = xoops_gethandler('avatar'); + $avatar =& $avt_handler->get( $avatar_id ); + if ( !is_object( $avatar ) ) { + redirect_header('admin.php?fct=avatars', 1, _AM_SYSTEM_DBERROR); + } + if (!$avt_handler->delete( $avatar )) { + // Call Header + xoops_cp_header(); + // Display errors + xoops_error( sprintf( _AM_SYSTEM_AVATAR_FAILDEL, $avatar->getVar('avatar_id') ) ); + // Call Footer + xoops_cp_footer(); + exit(); + } + $file = $avatar->getVar('avatar_file'); + // Delete file + @unlink(XOOPS_UPLOAD_PATH.'/'.$file); + // Update member profil + if (isset($user_id) && $avatar->getVar('avatar_type') == 'C') { + $xoopsDB->query("UPDATE ".$xoopsDB->prefix('users')." SET user_avatar='blank.gif' WHERE uid=".intval($user_id)); + } else { + $xoopsDB->query("UPDATE ".$xoopsDB->prefix('users')." SET user_avatar='blank.gif' WHERE user_avatar='".$file."'"); + } + redirect_header( 'admin.php?fct=avatars', 2, _AM_SYSTEM_DBUPDATED ); + break; +} |
From: <txm...@us...> - 2015-04-03 16:37:35
|
Revision: 13032 http://sourceforge.net/p/xoops/svn/13032 Author: txmodxoops Date: 2015-04-03 16:37:24 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Updated changed extension .html to .tpl of all admin themes Warning: This change was made in the file class/theme.php Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.tpl Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-04-03 16:37:24 UTC (rev 13032) @@ -168,7 +168,7 @@ * * @var string */ - var $canvasTemplate = 'theme.html'; + var $canvasTemplate = 'theme.tpl'; /** * Theme folder path @@ -497,7 +497,7 @@ $this->template->assign_by_ref('xoops_contents', $this->content); - // Do not cache the main (theme.html) template output + // Do not cache the main (theme.tpl) template output $this->template->caching = 0; $this->template->display($this->path . '/' . $this->canvasTemplate); $this->renderCount++; Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-04-03 16:37:24 UTC (rev 13032) @@ -51,6 +51,20 @@ height: 40px; } +#toTop { + width:42px; + height:42px; + background:url(../img/back-top-btn.png) no-repeat; + text-align:center; + position:fixed; + bottom:10px; + right:20px; + cursor:pointer; + display:none; + text-indent:-9999px; + z-index:12; +} + i { font-size:18px; } Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png =================================================================== (Binary files differ) Index: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png 2015-04-03 16:37:24 UTC (rev 13032) Property changes on: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js 2015-04-03 16:37:24 UTC (rev 13032) @@ -56,4 +56,17 @@ } }); }); + $(function() { + $(window).scroll(function() { + if($(this).scrollTop() != 0) { + $('#toTop').fadeIn(); + } else { + $('#toTop').fadeOut(); + } + }); + + $('#toTop').click(function() { + $('body,html').animate({scrollTop:0},800); + }); + }); }); \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <{includeq file="$theme_tpl/theme_metas.tpl"}> + </head> + <body> + <{includeq file="$theme_tpl/theme_header.tpl"}> + <!-- Main --> + <div class="container-fluid"> + <!-- upper section --> + <div class="row"> + <div class="sidenav col-sm-2"> + <{includeq file="$theme_tpl/theme_sidenav.tpl"}> + </div><!-- /span-2 --> + <div class="col-sm-10"> + <{includeq file="$theme_tpl/theme_page.tpl"}> + </div><!--/col-span-10--> + </div><!--/row--> + <!-- /upper section --> + </div><!--/container-fluid--> + <!-- /Main --> + <{includeq file="$theme_tpl/theme_footer.tpl"}> + </body> +</html> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,101 @@ + <div id="accordion"> + <h5><{$smarty.const._MD_CPANEL_OVERVIEW}></h5> + <div class="pane"> + <table class="table table-hover"> + <tr> + <td><{$smarty.const._OXYGEN_VERSION_XOOPS}></td> + <td><{$xoops_version}></td> + </tr> + <tr> + <td><{$smarty.const._OXYGEN_VERSION_PHP}></td> + <td><{$lang_php_vesion}></td> + </tr> + <tr> + <td><{$smarty.const._OXYGEN_VERSION_MYSQL}></td> + <td><{$lang_mysql_version}></td> + </tr> + <tr> + <td><{$smarty.const._OXYGEN_SERVER_API}></td> + <td><{$lang_server_api}></td> + </tr> + <tr> + <td><{$smarty.const._OXYGEN_OS}></td> + <td><{$lang_os_name}></td> + </tr> + <tr> + <td>safe_mode</td> + <td><{$safe_mode}></td> + </tr> + <tr> + <td>register_globals</td> + <td><{$register_globals}></td> + </tr> + <tr> + <td>magic_quotes_gpc</td> + <td><{$magic_quotes_gpc}></td> + </tr> + <tr> + <td>allow_url_fopen</td> + <td><{$allow_url_fopen}></td> + </tr> + <tr> + <td>fsockopen</td> + <td><{$fsockopen}></td> + </tr> + <tr> + <td>post_max_size</td> + <td><{$post_max_size}></td> + </tr> + <tr> + <td>max_input_time</td> + <td><{$max_input_time}></td> + </tr> + <tr> + <td>output_buffering</td> + <td><{$output_buffering}></td> + </tr> + <tr> + <td>max_execution_time</td> + <td><{$max_execution_time}></td> + </tr> + <tr> + <td>memory_limit</td> + <td><{$memory_limit}></td> + </tr> + <tr> + <td>file_uploads</td> + <td><{$file_uploads}></td> + </tr> + <tr> + <td>upload_max_filesize</td> + <td><{$upload_max_filesize}></td> + </tr> + </table> + </div> + <h5><{$smarty.const._OXYGEN_XOOPS_LICENSE}></h5> + <div class="pane"> + <p id="xolicenses"><a rel="external" href="http://www.gnu.org/licenses/gpl-2.0.html" title="<{$smarty.const.XOOPS_LICENSE_TEXT}>"><{$smarty.const.XOOPS_LICENSE_TEXT}></a></p> + </div> + <h5><{$smarty.const._OXYGEN_ABOUT}></h5> + <div class="pane"><{$smarty.const._OXYGEN_ABOUT_TEXT}></div> + <h5><{$smarty.const._OXYGEN_XOOPS_LINKS}></h5> + <div class="pane"> + <table class="table table-condensed"> + <tr> + <td><a rel="external" href="http://sourceforge.net/projects/xoops"><{$smarty.const._OXYGEN_XOOPSPROJECT}></a></td> + <td><a rel="external" href="http://xoops.org"><{$smarty.const._OXYGEN_WEBSITE}></a></td> + </tr> + <tr> + <td><a rel="external" href="http://www.xoops.org/modules/core"><{$smarty.const._OXYGEN_XOOPSCORE}></a></td> + <td><a rel="external" href="http://www.xoops.org/modules/mediawiki/index.php/Main_Page"><{$smarty.const._OXYGEN_XOOPSWIKI}></a></td> + </tr> + <tr> + <td><a rel="external" href="http://www.xoops.org/modules/xoopspartners"><{$smarty.const._OXYGEN_LOCALSUPPORT}></a></td> + <td><a rel="external" href="http://xoops.svn.sourceforge.net/viewvc/xoops"><{$smarty.const._OXYGEN_CODESVN}></a></td> + </tr> + <tr> + <td><a rel="external" href="http://sourceforge.net/tracker/?group_id=41586&atid=430840"><{$smarty.const._OXYGEN_REPORTBUG}></a></td> + </tr> + </table> + </div> +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,8 @@ +<div id="toTop">Back to Top</div> +<footer class="text-center"><span class="text-center"><{$xoops_footer}></span></footer> + <!-- script references --> +<!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> + <script src="<{xoAppUrl browse.php?Frameworks/jquery/plugins/jquery.ui.js}>"></script> + <script src="<{xoImgUrl assets/js/bootstrap.min.js}>"></script> + <script src="<{xoImgUrl assets/js/bootnewage.js}>"></script> +<nav class="navbar navbar-inverse navbar-fixed-bottom nav-footer"><span class="text-center"><i class="fa fa-copyright fa-lg"></i> <{$xoops_footer}></span><ul class="social-icons pull-right"><li><a href="http://twitter.com/txmodxoops" class="fa fa-twitter fa-lg" target="_blank"></a></li><li><a href="https://www.facebook.com/txmodxoops" target="_blank"><i class="fa fa-facebook fa-lg"></i></a></li><li><a href="https://www.youtube.com/channel/UCIpn7ZwJGSQc5iOUEaUt1sA" target="_blank"><i class="fa fa-youtube fa-lg"></i></a></li></ul></nav> --> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,64 @@ + <!-- Header --> + <nav id="top-nav" class="navbar navbar-inverse navbar-static-top" role="navigation"> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="<{xoAppUrl admin.php}>"><img src="<{xoImgUrl assets/img/logo.png}>" /></a> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav navbar-right"> + <{foreach item=item from=$navitems}> + <li class="dropdown"> + <a href="<{$item.link}>" class="dropdown-toggle" title="<{$item.title}>" data-toggle="dropdown" data-hover="dropdown-menu"> <i class="glyphicon glyphicon-<{$item.icon}>"></i> <span class="caret"></span></a> + <ul class="dropdown-menu multi-level" role="menu" aria-labelledby="dropdown-menu"> + <{foreach item=sub from=$item.menu}> + <li tabindex="-1" class="dropdown-submenu"> + <{if $sub.options != 0}> + <a class="submenu-after" tabindex="-1" href="<{$sub.link}>"> <{$sub.title}> </a> + <ul class="dropdown-menu"> + <{foreach item=option from=$sub.options}> + <li><a href="<{$sub.url}><{$option.link}>"><{$option.title}></a></li> + <{/foreach}> + </ul> + <{else}> + <a href="<{$sub.link}>" title="<{$sub.title}>"<{if $sub.target}> target="<{$sub.target}>"<{/if}>><{$sub.title}></a> + <{/if}> + </li> + <{/foreach}> + </ul> + </li> + <{/foreach}> + <li id="choosestyle" class="dropdown"> + <a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown" title="<{$smarty.const._OXYGEN_THEME_COLOR}>"> + <i class="glyphicon glyphicon-tint"></i> <span class="caret"></span> + </a> + <ul id="g-account-menu" class="dropdown-menu" role="menu"> + <li class="bg-color bg-dark"><a id="dark" href="<{$theme_css}>/index.html?style=dark" rel="dark" class="styleswitch"><{$smarty.const._OXYGEN_DARK}></a></li> + <li class="bg-color bg-silver"><a id="silver" href="<{$theme_css}>/index.html?style=silver" rel="silver" class="styleswitch"><{$smarty.const._OXYGEN_SILVER}></a></li> + <li class="bg-color bg-orange"><a id="orange" href="<{$theme_css}>/index.html?style=orange" rel="orange" class="styleswitch"><{$smarty.const._OXYGEN_ORANGE}></a></li> + <li class="bg-color bg-red"><a id="red" href="<{$theme_css}>/index.html?style=red" rel="red" class="styleswitch"><{$smarty.const._OXYGEN_RED}></a></li> + <li class="bg-color bg-green"><a id="green" href="<{$theme_css}>/index.html?style=green" rel="green" class="styleswitch"><{$smarty.const._OXYGEN_GREEN}></a></li> + <li class="bg-color bg-yellow"><a id="yellow" href="<{$theme_css}>/index.html?style=yellow" rel="yellow" class="styleswitch"><{$smarty.const._OXYGEN_YELLOW}></a></li> + <li class="bg-color bg-blue"><a id="blue" href="<{$theme_css}>/index.html?style=blue" rel="blue" class="styleswitch"><{$smarty.const._OXYGEN_BLUE}></a></li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown"> + <img class="user-avatar" src="<{$xoops_avatar}>" alt="<{$xoops_uname}>"><{$xoops_uname}> <span class="caret"></span> + <ul id="g-account-menu" class="dropdown-menu" role="menu"> + <li><a href="<{xoAppUrl modules/profile/index.php}>"><i class="glyphicon glyphicon-user"></i> Profile</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=users&op=users_edit&uid=1}>"><i class="glyphicon glyphicon-edit"></i> Edit</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=preferences&op=show&confcat_id=2}>"><i class="glyphicon glyphicon-cog"></i> Settings</a></li> + <li><a href="<{xoAppUrl user.php?op=logout}>"><i class="glyphicon glyphicon-log-out"></i> <{$smarty.const._LOGOUT}></a></li> + </ul> + </li> + </ul> + </div> + </div><!-- /container --> + </nav> + <!-- /Header --> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,26 @@ + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <!-- title and metas --> + <title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title> + <meta http-equiv="content-language" content="<{$xoops_langcode}>" /> + <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> + <meta name="robots" content="<{$xoops_meta_robots}>" /> + <meta name="keywords" content="<{$xoops_meta_keywords}>" /> + <meta name="description" content="<{$xoops_meta_description}>" /> + <meta name="rating" content="<{$xoops_meta_rating}>" /> + <meta name="author" content="<{$xoops_meta_author}>"/> + <meta name="copyright" content="<{$xoops_meta_copyright}>" /> + <meta name="generator" content="XOOPS"/> + <{if $url}> + <meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" /> + <{/if}> + <!-- Rss --> + <link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" /> + <!-- path favicon --> + <link rel="shortcut icon" type="image/ico" href="<{xoAppUrl favicon.ico}>" /> + <!-- customized header contents --> + <{$xoops_module_header}> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> + <![endif]--> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,34 @@ +<table class="table table-striped table-bordered table-hover"> + <thead> + <tr> + <th colspan="4"><{$smarty.const._OXYGEN_INSTALLEDMODULES}></th> + </tr> + <tr> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_NUM}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_IMAGE}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_NAME}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_DESCRIPTION}></th> + </tr> + </thead> + <tbody> + <{foreach item=mod from=$modules}> + <tr> + <td class="box-icon text-center"><{$mod.id}></td> + <td class="box-icon text-center"><a class="thumbnail" href="<{$mod.link}>" title="<{$mod.title}>"> + <img class="img-rounded" src='<{$mod.icon|default:"$theme_img/modules.png"}>' alt="<{$mod.title}>" /> + </a> + </td> + <td class="box-icon text-center"><a class="thumbnail" href="<{$mod.link}>" title="<{$mod.title}>"><span><{$mod.title}></span></a> + </td> + <td class="box-icon text-center"><span><{$mod.description}></span></td> + </tr> + <{/foreach}> + </tbody> + <{if $pagenav}> + <tfoot> + <tr> + <td colspan="4"> <{$pagenav}></td> + </tr> + </tfoot> + <{/if}> +</table> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,50 @@ + <!-- column 2 --> + <h3><i class="glyphicon glyphicon-dashboard"></i> Dashboard</h3> + <hr /> + <div class="row"> + <!-- center left--> + <div class="col-md-12"> + <{if $xo_sys_breadcrumb}> + <div class="row"> + <div class="col-lg-12"> + <ul class="breadcrumb"> + <{foreach item=item from=$xo_sys_breadcrumb}> + <li><{if $item.link}><a href="<{$item.link}>" title="<{$item.title}>"><{$item.title}></a><{else}><{$item.title}><{/if}></li> + <{/foreach}> + </ul> + </div> + </div><{* /.row <hr /> *}> + <{/if}> + <{if $xoops_contents && $admin_warnings_enable !== false}> + <div class="row"> + <div class="col-lg-12"> + <div class="panel panel-default"> + <div class="panel-body"> + <{* Display Admin menu *}> + <{if $xo_system_menu}><{$xo_system_menu}><{/if}> + <{$xoops_contents}> + </div> + </div> + </div> + </div><{* /.row *}> + <hr /> + <{/if}> + <{if $modules}> + <div class="row"> + <div class="col-lg-9"> + <div class="panel panel-default"> + <div class="panel-body"> + <{includeq file="$theme_tpl/theme_modules.tpl"}> + </div> + </div> + </div> + <!--center-right--> + <div class="col-md-3"> + <{includeq file="$theme_tpl/theme_tabs.tpl"}> + <hr /> + <{includeq file="$theme_tpl/theme_accordion.tpl"}> + </div><!--/col--> + </div><{* /.row *}><hr /> + <{/if}> + </div><!--/col-span-12--> + </div><!--/row--> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,6 @@ + + <script src="<{xoImgUrl include/xoops.js}>" type="text/javascript"></script> + <script src="<{xoImgUrl browse.php?Frameworks/jquery/jquery.js}>" type="text/javascript"></script> + <script src="<{xoImgUrl browse.php?Frameworks/jquery/plugins/jquery.ui.js}>" type="text/javascript"></script> + <script src="<{xoImgUrl assets/js/bootstrap.min.js}>" type="text/javascript"></script> + <script src="<{xoImgUrl assets/js/bootnewage.js}>" type="text/javascript"></script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,21 @@ + <!-- left --> + <h3><i class="glyphicon glyphicon-briefcase"></i> Toolbox</h3> + <hr /> + <ul class="nav nav-stacked"> + <li><a href="<{xoAppUrl admin.php}>"><i class="glyphicon glyphicon-dashboard"></i> Dashboard</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=avatars}>"><i class="glyphicon glyphicon-asterisk"></i> Avatars</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=banners}>"><i class="glyphicon glyphicon-link"></i> Banners</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=blocksadmin}>"><i class="glyphicon glyphicon-th-list"></i> Blocks</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=comments}>"><i class="glyphicon glyphicon-comment"></i> Comments</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=groups}>"><i class="glyphicon glyphicon-th"></i> Groups</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=images}>"><i class="glyphicon glyphicon-picture"></i> Image Manager</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=mailusers}>"><i class="glyphicon glyphicon-envelope"></i> Email User</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=maintenance}>"><i class="glyphicon glyphicon-trash"></i> Maintenance</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=modulesadmin}>"><i class="glyphicon glyphicon-gift"></i> Modules</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=preferences}>"><i class="glyphicon glyphicon-cog"></i> Preferences</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=smilies}>"><i class="glyphicon glyphicon-eye-open"></i> Smilies</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=tplsets}>"><i class="glyphicon glyphicon-list"></i> Templates</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=userrank}>"><i class="glyphicon glyphicon-star"></i> User Rank</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=users}>"><i class="glyphicon glyphicon-user"></i> Users</a></li> + </ul> + <hr /> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,29 @@ +<!-- the tabs --> +<ul id="tabNav" class="nav nav-tabs"> + <li class="active" role="presentation"><a href="#" title="<{$smarty.const._AM_SYSTEM_HELP}>" data-toggle="tab"><i class="glyphicon glyphicon-earphone"></i></a></li> + <li role="presentation"><a href="#" title="<{block id=4 display='title'}>" data-toggle="tab"><i class="glyphicon glyphicon-time"></i></a></li> + <li role="presentation"><a href="#" title="<{block id=9 display='title'}>" data-toggle="tab"><i class="glyphicon glyphicon-edit"></i></a></li> + <li role="presentation"><a href="#" title="<{block id=8 display='title'}>" data-toggle="tab"><i class="glyphicon glyphicon-user"></i></a></li> + <li role="presentation"><a href="#" title="<{block id=10 display='title'}>" data-toggle="tab"><i class="glyphicon glyphicon-comment"></i></a></li> +</ul> +<!-- tab "panes" --> +<div id="tabContent" class="panes"> + <div> + <div class="help"> + <a href="#" ><{$smarty.const._OXYGEN_HELP_1}></a> + <p><{$smarty.const._OXYGEN_HELP_DESC_1}></p> + </div> + <div class="help"> + <a href="#" ><{$smarty.const._OXYGEN_HELP_2}></a> + <p><{$smarty.const._OXYGEN_HELP_DESC_2}></p> + </div> + <div class="help"> + <a href="#" ><{$smarty.const._OXYGEN_HELP_3}></a> + <p><{$smarty.const._OXYGEN_HELP_DESC_3}></p> + </div> + </div> + <div><{block id=4}></div> + <div><{block id=9}></div> + <div><{block id=8}></div> + <div><{block id=10}></div> +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <{includeq file="$theme_tpl/theme_metas.html"}> +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> + <div id="wrapper"> + <{includeq file="$theme_tpl/theme_header.html"}> + <{includeq file="$theme_tpl/theme_sidenav.html"}> + <{includeq file="$theme_tpl/theme_page.html" }> + <{includeq file="$theme_tpl/theme_footer.html"}> + </div><{* /#wrapper *}> + <{includeq file="$theme_tpl/theme_scripts.html"}> +</body> +</html> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <{includeq file="$theme_tpl/xo_metas.html"}> + <{includeq file="$theme_tpl/xo_scripts.html"}> +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> + <{includeq file="$theme_tpl/xo_head.html"}> + <{includeq file="$theme_tpl/xo_globalnav.html"}> + <{includeq file="$theme_tpl/xo_toolbar.html"}> + <{includeq file="$theme_tpl/xo_page.html" }> + <{includeq file="$theme_tpl/xo_footer.html"}> +</body> +</html> \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html 2015-04-03 16:37:24 UTC (rev 13032) @@ -8,7 +8,7 @@ <img class="img-rounded" src='<{$op.icon|default:"$theme_icons/icon_options.png"}>' alt="<{$op.title}>" /> </a> <{/foreach}> - <{if $moddir!='system' && $mod_options}> + <{if $moddir !='system' && $mod_options}> <a href="<{$xoops_url}>/modules/system/admin.php?fct=preferences&op=showmod&mod=<{$modid}>" data-toggle="tooltip" data-original-title="<{$smarty.const._OXYGEN_SITEPREF}>" title="<{$smarty.const._OXYGEN_SITEPREF}>"> <img class="img-rounded" src="<{$theme_icons}>/prefs.png" alt="<{$smarty.const._OXYGEN_SITEPREF}>" /> </a> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <{includeq file="$theme_tpl/metas.html"}> +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> + <div id="wrapper"> + <{includeq file="$theme_tpl/header.html"}> + <{includeq file="$theme_tpl/page.html" }> + <{includeq file="$theme_tpl/footer.html"}> + <{includeq file="$theme_tpl/scripts.html"}> + </div><{* /#wrapper *}> +</body> +</html> \ No newline at end of file |
From: <txm...@us...> - 2015-04-03 20:06:32
|
Revision: 13033 http://sourceforge.net/p/xoops/svn/13033 Author: txmodxoops Date: 2015-04-03 20:06:07 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Updated changed extension .html to .tpl of all admin themes Warning: This change was made in the file classes Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/preferences/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/tplsets/jquery.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/tplsets/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/backend.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme_blocks.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/userutility.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopslists.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/header.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/imagemanager.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/index.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/lostpass.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/misc.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/banners/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/banners/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/banners/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/banners/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/blocksadmin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/blocksadmin/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/blocksadmin/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/blocksadmin/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/admin_header.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/comment_delete.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/comment_edit.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/comment_post.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groupperm.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groups/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groups/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groups/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groups/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/images/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/images/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/mailusers/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/mailusers/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/mailusers/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/mailusers/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/dump/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/dump/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/modulesadmin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/preferences/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/preferences/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/smilies/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/smilies/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/smilies/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/smilies/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/tplsets/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/tplsets/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/userrank/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/userrank/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/userrank/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/userrank/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/jquery.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/users.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/admin.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/button.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/csscolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/docs.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/jscolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/phpcolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/sparqlcolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/sqlcolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/xmlcolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/help.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/imagemanager.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/lightbox.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/menu.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_flat_0_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_flat_75_ffffff_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_55_fbf9ee_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_65_ffffff_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_75_dadada_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_75_e6e6e6_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_95_fef1ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_454545_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_888888_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.accordion.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.autocomplete.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.base.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.button.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.core.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.datepicker.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.dialog.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.menu.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.progressbar.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.resizable.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.selectable.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.slider.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.spinner.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.tabs.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.tooltip.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_flat_75_ffffff_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_65_ffffff_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_75_dadada_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_454545_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_888888_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.accordion.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.autocomplete.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.button.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.core.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.datepicker.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.dialog.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.menu.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.progressbar.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.resizable.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.selectable.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.slider.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.spinner.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.tabs.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.tooltip.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_glass_50_3baae3_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_2694e8_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_3d80b3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_72a7cf_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.accordion.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.autocomplete.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.base.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.button.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.core.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.datepicker.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.dialog.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.menu.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.progressbar.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.resizable.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.selectable.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.slider.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.spinner.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.tabs.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.tooltip.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_flat_15_cd0a0a_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_glass_100_e4f1fb_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_glass_50_3baae3_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_glass_80_d7ebf9_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_highlight-hard_70_000000_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_highlight-soft_100_deedf7_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_highlight-soft_25_ffef8f_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_2694e8_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_3d80b3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_72a7cf_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.accordion.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.autocomplete.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.button.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.core.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.datepicker.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.dialog.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.menu.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.progressbar.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.resizable.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.selectable.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.slider.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.spinner.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.tabs.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.tooltip.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/ui.all.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_flat_55_fbec88_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_glass_85_dfeffc_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_glass_95_fef1ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_217bc0_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_469bdd_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_6da8d5_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_d8e7f3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_f9bd01_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_454545_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_888888_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery-ui.structure.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery-ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/jquery-ui.structure.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/jquery-ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/ui.all.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_808080_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_847e71_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_8dc262_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_eeeeee_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_flat_55_999999_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_flat_75_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_glass_45_0078ae_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_glass_55_f8da4e_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_glass_75_79c9ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_0078ae_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_056b93_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_d8e7f3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_e0fdff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_f5e175_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_f7a50d_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_fcd113_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/jquery-ui.structure.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/jquery-ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/jquery-ui.structure.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/jquery-ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/ui.all.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_flat_30_cccccc_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_flat_55_999999_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_flat_75_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_glass_45_0078ae_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_glass_55_f8da4e_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_glass_75_79c9ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_45_e14f1c_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_50_6eac2c_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_75_2191c0_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_inset-hard_100_fcfdfd_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_0078ae_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_056b93_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_3d3d3d_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_bd7b00_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_d19405_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_d8e7f3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_e0fdff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_eb990f_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_ed9f26_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_f5e175_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_f7a50d_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_fadc7a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_fcd113_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_ffe180_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/jquery-ui.structure.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/jquery-ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/jquery-ui.structure.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/jquery-ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/ui.all.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_glass_20_555555_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_4b8e0b_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_a83300_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_cccccc_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_228ef1_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_ef8c08_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_ffd27a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/bg_button.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/bc_bg.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/bc_separator.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/bc_separator_end.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/home.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/anonymous.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/applications.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/attach.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/avatar_custom.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/avatar_system.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/block.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/cancel.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/clear.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/clone.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/colorize.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/comment.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/configure.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_comit.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_remove.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_status.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_update.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/display.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/edit.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/exec.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/family.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/favorites.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/fileimport.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/folder_add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/folder_blue.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/folder_delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/forum.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/group_add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/group_delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/group_edit.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/help.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/home.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/identity.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/info.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/install.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_forward.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_get.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_reply.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_send.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/messagebox_critical.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/messagebox_info.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/messagebox_warning.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/network.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/pipe.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/pm.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/print_printer.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/reload.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/revert.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/save.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/socket.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/success.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/tips.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/trash_empty.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/trash_full.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/uninstall.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/upload.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/url.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/user_add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/user_delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/user_edit.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/view.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/view_large.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/view_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/active_user.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/group_1.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/group_2.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/group_3.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_auth.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_mail.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_main.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_meta.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_mods.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_search.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_user.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_word.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/xoops.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/loading.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg_tabs1.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg_tabs2.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg_tabs_alt1.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg_tabs_alt2.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/mimetypes/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/mimetypes/css.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/mimetypes/css_48.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/as... [truncated message content] |
From: <txm...@us...> - 2015-04-18 20:46:26
|
Revision: 13038 http://sourceforge.net/p/xoops/svn/13038 Author: txmodxoops Date: 2015-04-18 20:46:15 +0000 (Sat, 18 Apr 2015) Log Message: ----------- Personalized checkbox and radio button form Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/avatars.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/banners.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/blocksadmin.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/comments.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/groups.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/help_center.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/images.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/mailusers.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/maintenance.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/module_index.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/modulesadmin.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/preferences.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/smilies.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/tplsets.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/userrank.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/users.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/form.css Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php 2015-04-16 21:43:53 UTC (rev 13037) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php 2015-04-18 20:46:15 UTC (rev 13038) @@ -212,7 +212,7 @@ if (count($ele_value) > 0 && in_array($value, $ele_value)) { $ret .= ' checked="checked"'; } - $ret .= $ele_extra . ' />'."<label name='xolb_{$ele_name}' for='{$ele_id}{$id_ele}'>" . $name . "</label>" . $ele_delimeter ; + $ret .= $ele_extra . ' />'."<label name='xolb_{$ele_name}' for='{$ele_id}{$id_ele}'><span></span>" . $name . "</label>" . $ele_delimeter ; if (! empty($this->columns)) { $ret .= '</td>'; if (++ $i % $this->columns == 0) { Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php 2015-04-16 21:43:53 UTC (rev 13037) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php 2015-04-18 20:46:15 UTC (rev 13038) @@ -184,7 +184,7 @@ if (isset($ele_value) && $value == $ele_value) { $ret .= ' checked="checked"'; } - $ret .= $ele_extra . ' />' . "<label name='xolb_{$ele_name}' for='" . $ele_name . $id_ele. "'>" . $name . "</label>" . $ele_delimeter ; + $ret .= $ele_extra . ' />' . "<label name='xolb_{$ele_name}' for='" . $ele_name . $id_ele. "'><span><span></span></span>" . $name . "</label>" . $ele_delimeter ; if (! empty($this->columns)) { $ret .= '</td>'; if (++ $i % $this->columns == 0) { @@ -201,4 +201,4 @@ return $ret; } -} +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/avatars.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/avatars.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/avatars.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,26 @@ +<div id="help-template" class="outer"> + +<h1 class="head">Help: Avatar</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +Avatars are small graphics or pictures that can be used in various content settings around the site. They are often used next to a user name to add a bit of "visual identification." Typical applications are the forum.<br /><br /> + +The Avatar Manager allows the Site administrator to add, edit or delete System Avatars as well as Custom Avatars. <br /><br /> +</p> +<h4 class="odd">System Avatar</h4> +<p class="even"> +System Avatars are images uploaded by the Site administrator in the Avatar Manager section. +</p> +<h4 class="odd">Custom Avatar</h4> +<p class="even"> +Custom Avatars are images directly uploaded by a user. For a user to be able to upload an avatar, the correct option must be configured in the User Info Settings of the Site Preferences. +</p> + +<h4 class="odd">Edit and delete Avatars</h4> +<p class="even"> +The Site administrator can edit the name and the display order of all the System Avatars, as well as deleting anyone of them. Note that if the Site administrator deleted an avatar that is used by a user, this user will lose his avatar. +</p> + + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/banners.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/banners.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/banners.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,12 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Banners</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Banners are advertisements displayed in the top section of the page. They may be images or flash movies, e.g. the wildly gyrating XOOPS banner that is part of the default installation. XOOPS has a built in system for managing banners and creating accounts for advertising clients, which is found in the System Module -> Banners. You can have multiple banners on a XOOPS site – the display area rotates through each of the active banners in turn each time a new page is loaded.<br /><br /> + +Each time a banner is displayed to a visitor this counts as one ‘impression’, which is the common trading currency of banners. Clients typically pay for a certain number of impressions – i.e. to have their advertisement displayed a certain number of times.<br /><br /> + +Please note: If you are in the business of selling banners based on the number of impressions there is one important thing you should do: Go to System Module -> Preferences -> General Settings and fill in the ‘Your IP Address’ field (if you have one). This will prevent your visits to the site from being included in the impression count. Failure to do this could be considered somewhat dishonest (noting, however, that many Administrators don’t have a permanent IP – e.g. those using dial up modems). +</p> +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/blocksadmin.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/blocksadmin.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/blocksadmin.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,17 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Blocks</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Blocks are discreet sections of content that can be created and configured in the admin interface. Custom blocks can be created and are typically made up of text, graphics and pictures. The content in these blocks may be formatted individually or inherit the site formatting. Blocks may also be part of a modules display output. The blocks administration page is where all blocks are configured and administered. <br /><br /> + +Blocks are like a newspapers' front page: they are teasers that incite readers to read more complete stories in the inside pages. Blocks offer small bits of dynamic content with links to the actual content stored in the module.<br /><br /> +Part of the things that happen under the hood or behind curtains when a module is installed in a XOOPS site is that the module's blocks are registered in the system so they can be used at will by the webmaster.<br /><br /> + +What can a webmaster do with a block? Well, mostly, decide about where in the site the block will be shown (the equivalent of defining a shop window, which in this case can be in the outside, the home page, or even in the inside: a block can be defined to be shown in other modules), and when shown, where in a page will it be seen.<br /><br /> + +Every module that is installed in a XOOPS site registers its blocks in the system, and the webmaster can decide where it will be shown, in what part of the page it'll appear and what kind of relevance, weight or position will it have. The site administrator can also edit the block's label and, if knowledgeable enough, can even edit the template that underlies the block's presentation. + +</p> + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/comments.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/comments.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/comments.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,15 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Comments</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Site administrators have the option of providing a comments section for users. Comments can be added to many modules and displayed in a variety of ways. Comments can be screened, filtered, and made available to selected groups. This provides quick easy interaction from site users, while maintaining good moderation and security.<br /><br /> + +The Comment Manager allows the Site administrator to edit and delete any comment that has been posted to the site, originating in any module that supports the comments feature. +Like the Blocks Administration page, some filters options are available to help the site administrator manage the comments. <br /><br /> + +You can also select several comments and delete them at once. + +</p> + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/groups.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/groups.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/groups.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,14 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Groups</h1> +<h4 class="odd">Description</h4> +<p class="even"> +XOOPS incorporates a member registration system - you can optionally require people to sign up to your site in order to have access to certain areas or functions. For example, most sites require people to join before they are allowed to contribute news or post messages in the forums.<br /> +Access and administration rights to a XOOPS website are set through a flexible permission system based on 'user groups'. The default groups include anonymous users, registered members and webmasters, but of course you can define as many groups as you need to manage your site. Each group can be given a unique set of access rights governing:<br /><br /> +- Which blocks can be seen <br /> +- Which modules can be accessed<br /> +- Which modules can be administered<br /> +- Which aspects of system administration can be modified<br /><br /> +You can change the name of these default groups, but, you cannot delete them. Other user groups can also be set and defined as discussed later.<br /><br /> +Custom groups can also be created through the groups administration page. +</p> +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/help_center.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/help_center.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/help_center.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,17 @@ +<div id="help-template" class="outer"> + +<h2 class="head">Welcome to: XOOPS Help center</h2> + +<h4 class="odd">How do I use XOOPS?</h4> +<p class="even">XOOPS is a web application platform written in PHP for the MySQL database. Its object orientation makes it an ideal tool for developing small or large community websites, intra company and corporate portals, weblogs and much more. In order to use XOOPS effectively, you need to install modules that provide the functionality that you're looking for. There are many different modules in <a href="http://www.xoops.org/modules/repository/" rel="external" title="Module Repository">Module Repository</a>, from calendars, photo galleries, through news, bulletin boards, to weather updates.</p> + +<h4 class="odd">How do I use the Help Center?</h4> +<p class="even">The Help Center is to provide you with basic information related to individual features of the Administration. Whenever you would like to know more about particular page you are on, just click the help icon in the right hand corner</p> + +<h4 class="odd">How I can create content in XOOPS?</h4> +<p class="even">You'll need a module for it. This could be a News module, or a Content module. </p> + +<h4 class="odd">How I can get more help?</h4> +<p class="even">Please visit our Support Forums at: <a href="http://www.xoops.org/modules/newbb" rel="external" title="Forum">http://www.xoops.org/modules/newbb</a> </p> + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/images.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/images.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/images.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,13 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Image Manager</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +The Image Manager is a tool that enables people to upload, organize and retrieve images for use throughout the site. You must configure the image manager before you can use it - this involves creating some categories to store your images and setting preferences on issues such as maximum image dimensions, file size and user group access rights. Each category is configured separately.<br /><br /> + +Images can be categorized and uploaded directly into the images manager through a browser in this window with one click of a button, enabling easy insertion of images into news articles and other content. There is an extensive permission system controlling image dimensions, file size and access of user groups to different categories. + +</p> + +</div> + Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/mailusers.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/mailusers.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/mailusers.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,12 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Email Users</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +XOOPS has a built in messaging system that enables you to send a message to your entire registered user base or subgroups thereof, or using date filters. This can be in the form of a private message (i.e. through the XOOPS built-in messaging system) or through an email. A range of options is available for filtering out subgroups of users from your membership.<br /><br /> + +You can also use predefined tags that will enable you to personalize your message. +</p> + +</div> + Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/maintenance.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/maintenance.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/maintenance.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,14 @@ +<div id="help-template" class="outer"> + +<h1 class="head">Help: Maintenance</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +Maintenance provides several basic functions to help you in maintaining your XOOPS installation and keep it healthy:<br /><br /> + +- clean cache folder<br /> +- empty the session table<br /> +- perform maintenance of the database tables (analyze, check, optimize, and repair) <br /><br /> + +You can also perform a "Dump" of the whole database or individual tables for backup purposes. </p> +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/module_index.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/module_index.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/module_index.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,7 @@ +<div id="help-template" class="outer"> + +<h2 class="head">Welcom to: System module</h2> +<h4 class="odd">Description</h4> +<p class="even">For administration of core settings of the site.</p> + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/modulesadmin.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/modulesadmin.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/modulesadmin.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,17 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Modules</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Modules are the software constructs that, taking advantage of the infrastructure that XOOPS provides, let the webmaster offer the site’s users dynamic or static content generated using a Web interface that more often that not is very easy to use.<br /><br /> + +Part of the power of XOOPS resides in the way modules are managed. The webmaster can easily install, uninstall, activate or deactivate any specific module (except the System module, for obvious reasons). It’s also possible to rename modules, and to determine the order in which they will appear to the end user in the site’s menu (if you want them to appear at all), because you can also provide hidden functionality, defining active modules that have no visible presence to the casual user. For instance, you could define a module as not visible in the menu by disabling the check icon in the Menu column. So for the News module, you could then send a private messages to selected group of your users and tell them to access that directory typing the address in the URL field, something like <em>http://www.yoursite.com/modules/news</em>. <br /><br /> + +To change order of modules (which will be reflected in the Menu), you just need to drag and drop the modules to the desired placement.<br /><br /> + +Module installation needs some planning, both for the modules to be displayed and also the layout on the pages. It is a good idea to review other XOOPS sites and see which modules are used to display various types of content. This is easily done by opening any XOOPS site and hovering over the menu links on the left and right hand side panels. At the same time look at the URLs displayed in the status bar on your browser. You should see addresses like this: http://the_site.com/modules/news/.... All modules are stored in the /modules/ directory, thus the following sector of the address (in this example 'news') shows the module that will display contents of that menu link. <br /><br /> + +If you open the page for the link it will show an example of how the module is used and the type of content it displays. Reviewing other sites like this will also give you some good insight into layout and design capabilities. +</p> + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/preferences.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/preferences.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/preferences.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,60 @@ +<div id="help-template" class="outer"> + +<h1 class="head">Help: Preferences</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +The preference panels are where you configure your site-wide preferences. It is worth taking the time to work through them as some settings can have a significant impact on the performance, security and ease of use of your site. +</p> +<h4 class="odd">General Settings</h4> +<p class="even"> +These are the most important and most frequently accessed preferences. You will set the Site name and the Slogan for your Website. You'll also select the default Theme and Admin GUI. And if you need to work on your Website, you can close it for all users. You can also set Module-wide Cache times. +</p> + +<h4 class="odd">Meta Tags and Footer</h4> +<p class="even"> +Meta tags provide information about your information – they describe the nature of your website. Their main use is to help search engines and their robots to index your website correctly, i.e. to help the right people find it. The information you supply is included in the header of each web page. It should represent the content of the site as a whole - the meta information is the same on every page, it currently cannot be customised for different modules or pages.<br /><br /> + +Be aware that the major search engines use different strategies for indexing websites. They may place different weightings on meta tags or even ignore them completely. Careful use of meta information may help your website to gain better search engine rankings and it is useful to seek information on the indexing strategies of your dominant referrers (see your website logfile). This may help you to optimise your meta information or other aspects of your site design and content to improve your rankings. <br /><br /> + +Try to be accurate and honest in providing meta information. Don’t try to ‘<em>manipulate</em>’ search engines to gain a better ranking – they may recognise this behaviour and your site may be downgraded or blacklisted from their index. + +</p> + +<h4 class="odd">Word Censoring Options</h4> +<p class="even"> +XOOPS can automatically censor undesirable words that may be posted by visitors to your site and replace them with a generic, alternative term of your choice. The censorship function does consume some system resources and may slow your site somewhat. It is disabled by default.<br /><br /> + +To implement censorship on your site select the ‘<em>enable</em>’ radio button. You need to enter a list of unwanted words in the ‘<em>words to censor</em>’ box, separating them with the pipe character. This function is case insensitive. Enter a suitable replacement term in the ‘<em>replace bad words with</em>’ box. The default is #OOPS#. + +</p> + +<h4 class="odd">Search Options</h4> +<p class="even"> +The search facility is one of the most important tools for locating information in a portal website. The XOOPS search categorises results by module – records are identified as news items, downloads, links or other types as per the modules you have installed. <br /><br /> + +Global searches of all resources on your site are enabled by default. If you disable global searches this facility will no longer be available and the search block will become non-functional. +The default minimum keyword length for searches is five characters. Any terms that are shorter will be ignored. This is useful for controlling the precision of searches, though not much use for terms like “site map”. Short keywords tend to be more common so they tend to return a greater number of records, many of which may be irrelevant. Longer keywords tend to retrieve fewer records but with a higher degree of precision.<br /><br /> + +Searching is relatively expensive in computational terms and so excluding short terms will reduce the load on the server. However, bear in mind that sometimes it is useful to be able to search for a short term. + +</p> + +<h4 class="odd">Email Setup</h4> +<p class="even"> +This section of the control panel is used to configure your email for the system. It is recommended that you leave the Email Delivery Method on the default setting “PHP (mail)”. You do not need to fill in the Sendmail or SMTP fields unless you use an alternative email delivery option. +</p> + +<h4 class="odd">Authentication Options</h4> +<p class="even"> +Just leave it at Xoops Database and you can ignore all the other options in there.<br /><br /> + +LDAP or Microsoft Active directory servers have been added for authentication as an alternate to the normal Xoops users. The reason is that in many company you already have a user database in ADS or LDAP and they can use that to logon to Xoops and don´t have to register yet another account. +</p> + +<h4 class="odd">System Module Settings</h4> +<p class="even"> +Here you can activate/deactivate each of the System sections, as well as specify system-wide defaults, e.g. for number of displayed avatars or images per page. You can also select a default editor for blocks, comments, and for all modules. +</p> + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/smilies.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/smilies.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/smilies.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,14 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Smilies</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Smiles are little graphic symbols that people can use to express themselves. They can be inserted anywhere in the text of an article, comment or post from both the user and admin sides of the system. XOOPS ships with a collection of 17 smilies built in. Some of these are displayed on the submission forms in various modules (including forums, news, downloads, links and others). Clicking on a smilie will insert it into the post. Smilies can also be inserted by typing in their unique ‘codes’ (keyboard shortcuts), for example typing ':' '-' 'D' in a post will insert this smilie: <img src="http://www.xoops.org/uploads/smil42e7a3d4c7b9f.gif" alt=""/> <br /><br /> + +The full list of smilies available on your system and their codes is accessible through the Smilies, which is where you're now. Here you can add, edit and delete smilies, and control which are displayed on submission forms (only nine of the 17 are displayed by default)<br /><br /> + +If you don’t want smilies on your system, you can either uncheck the “display in form?” box (in which case they won’t appear on submission forms, but will still be available via their codes), or use the delete link to remove them entirely. +</p> + +</div> + Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/tplsets.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/tplsets.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/tplsets.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,30 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Templates</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +XOOPS allows for some separation between the actual presentation of the site (the “<em>skin</em>” or user interface) and the code that runs in the back. The first one is handled by a sophisticated mechanism based on graphical themes. A theme may include, in its basic form, the essential HTML templates that define the visual interface of the site, as well as the style sheets and images needed to complement that visual interface. Themes are switchable in the administrative interface, so changing the whole appearance of a XOOPS site it’s just a matter of changing the value of a selector and clicking on “Accept”. XOOPS also provides site administrators with the ability to let users choose among some available themes.<br /><br /> + +Generally speaking, a <strong><em>theme</em></strong> is the high level visual framework of a site: the theme defines, for instance, the general layout of the site; on the other hand, it does not usually define the specific distribution of content within a block. This is handled by a different entity called a <em><strong>template set</strong></em>. A template set<em> </em>is an ensemble of HTML templates that define the presentation of content within all the blocks that form a XOOPS Web site. If we want a more clear metaphor for this, we could say that the theme is like the architect of a house, while the template set is like the interiors decorator. The first one sets the walls and defines the general distribution, but it’s the second one who’s in charge of “<em>dressing</em>” those walls.<br /><br /> + +If the active theme is a simple one that only includes a theme file, CSS files and some images, XOOPS employs the default template set to define the presentation of blocks. However, some complex themes are sophisticated enough to include their own template set. In this case, the site administrator must use the administrative interface to set both the theme and the template set. <br /><br /> + +How is the theme <em>magic</em> accomplished? That is, how can HTML templates include dynamic content? This is done not with mirrors and smoke, but with a clever template engine called +<strong><a rel="external" href="http://www.smarty.net/">Smarty</a></strong> that makes the function of what used to be called +<em><strong>variable interpolation</strong></em>. Expressed in a simple way, we could say that the XOOPS system uses PHP files to hold the logic of the modules (access to the database, allocation of variables, management of rights...), HTML files with Smarty variables inserted to manage the actual visual interface, and the Smarty engine to insert values and strings in specific places within the HTML that builds the pages seen by the end user. All in all, what this means to you can be easily summarized: thanks to its theming system, XOOPS lets site designers build more interesting and visually stunning sites without much concern about what happens under the hood. +</p> +<h4 class="odd">Cloning and downloading template sets</h4> +<p class="even"> +If you would like to create a custom template set you can make a copy of the default set (or any other) by selecting the ‘<em>clone</em>’ link (you will be prompted to give the new set a name). Unlike the default, other template sets can be freely edited. You can also save a copy of a template set to disk by selecting the ‘<em>download</em>’ link, or remove it with the ‘<em>delete</em>’ link. You may also sometimes see an additional ‘<em>Generate</em>’ link next to new modules for which templates have not yet been created. +</p> + +<h4 class="odd">Editing templates</h4> +<p class="even"> +You can see a full list of available templates by browsing the directory treeview. When you select a template, XOOPS will open it in an editor where you can edit it. <br /><br /> + +While editing templates you must enable a preference that automatically updates module template .html files if there are newer files under the themes/your theme/templates directory for the current theme (System Module -> Preferences -> General Settings -> Update module template .html files from themes/your theme/templates directory? -> ‘<em>Yes</em>’). This should be turned off once the site goes public.<br /><br /> +If you accidentally mess up a template don’t forget that you can retrieve a ‘<em>good</em>’ copy from the default template set. If you are working with non-standard templates it may be a good idea to save a copy to disk before you start modifying them. + +</p> + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/userrank.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/userrank.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/userrank.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,17 @@ +<div id="help-template" class="outer"> + +<h1 class="head">Help: User Ranks</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +User Ranks allow you to give people some ‘<em>status</em>’ based on either their role or level of participation in the community. It is important to note that user ranks are functionally irrelevant - they *do not* confer any extra privileges or administrative rights at all – they are just titles. User access rights are actually controlled elsewhere (through the Groups section of the control panel). If you assign someone the Webmaster user rank but forget to also assign them to the Webmaster user group (a common mistake) they may look cool but they won’t be able to administer the site !<br /><br /> + +‘<em>Normal</em>’ ranks are assigned on the basis of the number of forum posts and comments a user has made. A user’s rank will change as they make enough posts to qualify for the next level. XOOPS ships with the following default ranks: Just popping in; Not too shy to talk; Quite a regular; Just can’t stay away; and Home away from home. +XOOPS also ships with two ‘<em>special ranks</em>’: Moderator and Webmaster. Special ranks differ in that they can be assigned to users irrespective of the number of posts they have made. A typical use of special ranks is to give recognition to people performing various administrative functions.<br /><br /> + +The ‘<em>edit</em>’ link allows you to change the name of a rank, to alter the minimum / maximum number of posts needed to qualify, to designate it as a ‘<em>special</em>’ rank (or not), and to upload a new rank image. You can remove unnecessary ranks (‘delete’ link). <br /><br /> + +You can create additional ranks through the form at the bottom of the user rank page. Simply assign a name, minimum and maximum number of posts (if desired), upload a rank image and assign it as either normal or special. +</p> + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/users.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/users.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/users.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,28 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Users</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +XOOPS provides built in tools for easy user management. These include the ability to search for users by various criteria, send email and private messages to users through a template-based messaging system. In your site, users have the rights that pertain to the group they're assigned to.<br /><br /> + +As to users, they have access to their profile, have some control over most of the information that will be visible to other users, and have also an inbox to receive private messages from the site administrator or from other users. They have besides control over what changes in the site will trigger personal notifications. And depending on the permissions set by the site manager, they can see content and participate in the site's life by uploading content, writing stories or comments, rating content and in general giving their feedback to what they see on the site.<br /><br /> +</p> + +<h4 class="odd">Advanced Search</h4> +<p class="even"> +"Advanced Search" provides a wide range of options that you can use to search for specific users or to filter your membership. You can also obtain a complete list of members by pressing the ‘submit’ button without using any of the filters. +</p> + +<h4 class="odd">Edit Users</h4> +<p class="even"> +You can add, edit and delete users through this section of the System Module.<br /><br /> +To edit a user, search for one based on the name or other criteria. You may then choose to either <br /><br /> + +i) modify their details or <br /> +ii) delete them using the second drop down box.<br /><br /> + +Selecting ‘modify’ will open the user’s profile which you may then change as you see fit (note that you can also reach the edit profile page from the user side via the member directory, or by clicking on a username anywhere in the site). +</p> + + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/form.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/form.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/form.css 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,85 @@ +/* + * Dashboard Responsive Admin Theme + * + * @copyright Txmod Xoops <http://www.txmodxoops.org/> - Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Txmod Xoops <http://www.txmodxoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id 1.0 +*/ + +/* ==================== Form definitions ==================== */ +/* Hide the checkboxes and radio buttons */ +input[type=checkbox]:not(old), +input[type=radio ]:not(old){ + width : 2em; + margin : 0; + padding : 0; + font-size : 1em; + opacity : 0; +} +/* Position the label */ +input[type=checkbox]:not(old) + label, +input[type=radio ]:not(old) + label{ + display : inline-block; + margin-left : -2em; + line-height : 1.5em; +} +/* Style the first span to create the unchecked graphics */ +input[type=checkbox]:not(old) + label > span, +input[type=radio ]:not(old) + label > span{ + display : inline-block; + width : 0.995em; + height : 0.995em; + margin : 0.25em 0.25em 0.25em 0.25em; + border : 0.0925em solid rgb(152,152,152); + border-radius : 0.325em; + background : rgb(224,224,224); + background-image : -moz-linear-gradient(rgb(240,240,240),rgb(224,224,224)); + background-image : -ms-linear-gradient(rgb(240,240,240),rgb(224,224,224)); + background-image : -o-linear-gradient(rgb(240,240,240),rgb(224,224,224)); + background-image : -webkit-linear-gradient(rgb(240,240,240),rgb(224,224,224)); + background-image : linear-gradient(rgb(240,240,240),rgb(224,224,224)); + vertical-align : bottom; +} +/* Background gradient is reversed on selected checkboxes and radio buttons */ +input[type=checkbox]:not(old):checked + label > span, +input[type=radio ]:not(old):checked + label > span{ + background-image : -moz-linear-gradient(rgb(224,224,224),rgb(240,240,240)); + background-image : -ms-linear-gradient(rgb(224,224,224),rgb(240,240,240)); + background-image : -o-linear-gradient(rgb(224,224,224),rgb(240,240,240)); + background-image : -webkit-linear-gradient(rgb(224,224,224),rgb(240,240,240)); + background-image : linear-gradient(rgb(224,224,224),rgb(240,240,240)); +} +/* Display a tick inside selected checkboxes */ +input[type=checkbox]:not(old):checked + label > span:before{ + content : '✓'; + display : block; + width : 1em; + color : rgb(104,104,104); + font-size : 0.875em; + line-height : 1em; + text-align : center; + text-shadow : 0 0 0.0714em rgb(115,153,77); + font-weight : bold; +} +/* Display a ‘bullet’ inside selected radio buttons, + applying the same techniques as for the unchecked + graphics to the second span element */ +input[type=radio]:not(old):checked + label > span > span{ + display : block; + width : 0.7em; + height : 0.7em; + margin : 0.09em 0.05em 0.05em 0.08em; + border : 0.0925em solid rgb(105,105,105); + border-radius : 0.425em; + background : rgb(120,120,120); + background-image : -moz-linear-gradient(rgb(160,150,140),rgb(150,150,150)); + background-image : -ms-linear-gradient(rgb(160,150,140),rgb(150,150,150)); + background-image : -o-linear-gradient(rgb(160,150,140),rgb(150,150,150)); + background-image : -webkit-linear-gradient(rgb(160,150,140),rgb(150,150,150)); + background-image : linear-gradient(rgb(160,150,140),rgb(150,150,150)); +} \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-04-16 21:43:53 UTC (rev 13037) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-04-18 20:46:15 UTC (rev 13038) @@ -14,7 +14,7 @@ @import url(accordion.css); @import url(logger.css); @import url(tabs.css); - +@import url(form.css); /* ==================== General definitions ==================== */ html { width: 100%; |