From dgoette@svn.reactos.org Wed Nov 19 13:16:18 2008 From: dgoette@svn.reactos.org To: ros-diffs@reactos.org Subject: [ros-diffs] [dgoette] 37453: * use proper html * include css & js files in
instaed of in if possible * fix minor bugs Date: Wed, 19 Nov 2008 11:15:29 +0000 Message-ID: <20081119121615.70FD9989D9@mail.reactos.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7370842987073579350==" --===============7370842987073579350== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: dgoette Date: Wed Nov 19 05:15:29 2008 New Revision: 37453 URL: http://svn.reactos.org/svn/reactos?rev=3D37453&view=3Drev Log: * use proper html * include css & js files in instaed of in if possible * fix minor bugs Added: branches/danny-web/reactos.org/htdocs/roscms/css/cms_maintain.css (with= props) Modified: branches/danny-web/reactos.org/htdocs/roscms/js/cms_maintain.js.php branches/danny-web/reactos.org/htdocs/roscms/js/cms_navigation.js.php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML.class.php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_CMS.class.php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_CMS_Maintain.class.= php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_CMS_User.class.php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_CMS_Website.class.p= hp branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_Nopermission.class.= php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_User.class.php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_User_Activate.class= .php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_User_Login.class.php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_User_LostPassword.c= lass.php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_User_Profile.class.= php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_User_ProfileEdit.cl= ass.php branches/danny-web/reactos.org/htdocs/roscms/lib/HTML_User_Register.class= .php Added: branches/danny-web/reactos.org/htdocs/roscms/css/cms_maintain.css URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs= /roscms/css/cms_maintain.css?rev=3D37453&view=3Dauto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- branches/danny-web/reactos.org/htdocs/roscms/css/cms_maintain.css (added) +++ branches/danny-web/reactos.org/htdocs/roscms/css/cms_maintain.css [iso-88= 59-1] Wed Nov 19 05:15:29 2008 @@ -1,0 +1,1 @@ +TEXTAREA { width: 100%; } Propchange: branches/danny-web/reactos.org/htdocs/roscms/css/cms_maintain.css ------------------------------------------------------------------------------ svn:eol-style =3D native Modified: branches/danny-web/reactos.org/htdocs/roscms/js/cms_maintain.js.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs= /roscms/js/cms_maintain.js.php?rev=3D37453&r1=3D37452&r2=3D37453&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- branches/danny-web/reactos.org/htdocs/roscms/js/cms_maintain.js.php [iso-= 8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/roscms/js/cms_maintain.js.php [iso-= 8859-1] Wed Nov 19 05:15:29 2008 @@ -1,3 +1,4 @@ + =20 function optimizedb() { makeRequest('?page=3Ddata_out&d_f=3Dmaintain&d_u=3Doptimize', 'optimize'= , 'maintainarea'); Modified: branches/danny-web/reactos.org/htdocs/roscms/js/cms_navigation.js.p= hp URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs= /roscms/js/cms_navigation.js.php?rev=3D37453&r1=3D37452&r2=3D37453&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- branches/danny-web/reactos.org/htdocs/roscms/js/cms_navigation.js.php [is= o-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/roscms/js/cms_navigation.js.php [is= o-8859-1] Wed Nov 19 05:15:29 2008 @@ -1,3 +1,6 @@ + + function pagerefresh() { exitmsg =3D ''; window.location.href =3D ''; Modified: branches/danny-web/reactos.org/htdocs/roscms/lib/HTML.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs= /roscms/lib/HTML.class.php?rev=3D37453&r1=3D37452&r2=3D37453&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- branches/danny-web/reactos.org/htdocs/roscms/lib/HTML.class.php [iso-8859= -1] (original) +++ branches/danny-web/reactos.org/htdocs/roscms/lib/HTML.class.php [iso-8859= -1] Wed Nov 19 05:15:29 2008 @@ -27,12 +27,20 @@ =20 protected $page_start; // start time of page generation protected $title;=20 - protected $css;=20 + protected $css_files=3Darray();=20 + protected $js_files=3Darray();=20 =20 public function __construct( $page_title =3D '', $page_css =3D 'roscms' ) { + // get page title and register css files $this->title =3D $page_title; - $this->css =3D $page_css; + if ($page_css =3D=3D 'roscms'){ + $this->register_css('style_v3.css'); + } + else { + $this->register_css('style.css'); + $this->register_css('logon.css'); + } =20 // this page was generated in ... $roscms_gentime =3D explode(' ',microtime());=20 @@ -73,7 +81,7 @@ =20 // output header echo_strip( ' - +branch =3D=3D 'welcome') ? '2' : '1= ').'" onclick=3D"'."roscms_mainmenu('welcome')".'"> @@ -126,52 +110,52 @@ =20 if (ROSUser::isMemberOfGroup('transmaint','ros_admin','ros_sadmin')) { echo_strip(' - | branch =3D=3D 'user') ? '2' : '1').=
'" onclick=3D"'."roscms_mainmenu('user')".'">
-
-
-
-
-
- User
- |
- '); + | branch =3D=3D 'user') ? '2' : '1').'" onc=
lick=3D"'."roscms_mainmenu('user')".'">
+
+
+
+
+
+ User
+ |
+ '); } =20 if ($roscms_security_level =3D=3D 3) { echo_strip(' - | branch =3D=3D 'maintain') ? '2' : '=
1').'" onclick=3D"'."roscms_mainmenu('maintain')".'">
-
-
-
-
-
- Maintain
- |
- - =20 - | branch =3D=3D 'stats') ? '2' : '1')=
.'" onclick=3D"'."roscms_mainmenu('stats')".'">
-
-
-
-
-
- Statistics
- |
- '); + | branch =3D=3D 'maintain') ? '2' : '1').'"=
onclick=3D"'."roscms_mainmenu('maintain')".'">
+
+
+
+
+
+ Maintain
+ |
+ + + | branch =3D=3D 'stats') ? '2' : '1').'" on=
click=3D"'."roscms_mainmenu('stats')".'">
+
+
+
+
+
+ Statistics
+ |
+ '); } =20 echo_strip(' - |
-
-
- ![]() |
-
---|