- Timestamp:
- 09/16/07 18:00:26 (14 months ago)
- Location:
- team/michiel/import_blogs
- Files:
-
- 3 modified
-
. (modified) (1 prop)
-
admin/style/MvBlog/index.css (modified) (2 diffs)
-
common/mvblog_admin.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
team/michiel/import_blogs
- Property svnmerge-integrated changed from /trunk:1-642 to /trunk:1-644
-
team/michiel/import_blogs/admin/style/MvBlog/index.css
r531 r645 117 117 118 118 a.if_menu_item_act { 119 text-decoration: underline; 120 color: #505050; 121 font-weight: bold; 122 border: 0px; 123 } 124 125 #if_submenu { 126 font-family: verdana, helvetica; 127 font-size: 13px; 128 position: absolute; 129 margin-left: 50px; 130 top:168px; 131 } 132 133 a.if_submenu_item { 134 text-decoration: none; 135 color: #505050; 136 border: 0px; 137 } 138 139 a.if_submenu_item:hover { 140 color: #000000; 141 border: 0px; 142 text-decoration: underline; 143 } 144 145 a.if_submenu_item:visited { 146 color: #505050; 147 } 148 149 a.if_submenu_item_act { 119 150 text-decoration: underline; 120 151 color: #505050; … … 144 175 overflow: hidden; 145 176 text-align: justify; 146 padding: 1 50px 50px 0px 50px;177 padding: 170px 50px 0px 50px; 147 178 } 148 179 -
team/michiel/import_blogs/common/mvblog_admin.php
r643 r645 35 35 ); 36 36 private $_selected_menuitem; 37 private $_selected_submenuitem; 37 38 38 39 /* methods */ … … 59 60 case "show_cats" : 60 61 case "edit_cat" : 61 $this->_selected_menuitem = "categories"; 62 $this->_selected_menuitem = "manage"; 63 $this->_selected_submenuitem = "categories"; 62 64 break; 63 65 case "show_dossiers" : 64 66 case "edit_dossier" : 65 $this->_selected_menuitem = "dossiers"; 67 $this->_selected_menuitem = "manage"; 68 $this->_selected_submenuitem = "dossiers"; 66 69 break; 67 70 case "show_authors" : 68 71 case "edit_author" : 69 $this->_selected_menuitem = "authors"; 72 $this->_selected_menuitem = "users"; 73 if (array_key_exists("id", $_REQUEST) && $_REQUEST["id"] == $_SESSION["author_id"]) 74 $this->_selected_submenuitem = "my"; 75 else 76 $this->_selected_submenuitem = "authors"; 70 77 break; 71 78 case "show_users" : 72 79 case "edit_user" : 73 80 $this->_selected_menuitem = "users"; 81 $this->_selected_submenuitem = "users"; 74 82 break; 75 83 case "show_posts" : 76 84 case "edit_post" : 77 $this->_selected_menuitem = "posts"; 85 $this->_selected_menuitem = "manage"; 86 $this->_selected_submenuitem = "posts"; 78 87 break; 79 88 case "show_comments" : 80 89 case "edit_comment" : 81 $this->_selected_menuitem = "comments"; 90 $this->_selected_menuitem = "manage"; 91 $this->_selected_submenuitem = "comments"; 82 92 break; 83 93 case "show_plugins" : … … 90 100 case "save_settings" : 91 101 $this->_selected_menuitem = "settings"; 102 $this->_selected_submenuitem = "settings"; 92 103 break; 93 104 case "show_menuitems" : 94 $this->_selected_menuitem = "menuitems"; 105 $this->_selected_menuitem = "settings"; 106 $this->_selected_submenuitem = "menuitems"; 95 107 break; 96 108 default : … … 299 311 <div id="if_menu"> 300 312 <a class="if_menu_item" href="../index.php">Site</a> 301 <a class="if_menu_item<?php if ($this->_selected_menuitem == "index") { echo "_act"; } ?>" href="./index.php"><?php echo gettext("index"); ?></a> 302 <a class="if_menu_item<?php if ($this->_selected_menuitem == "categories") { echo "_act"; } ?>" href="./index.php?action=show_cats"><?php echo gettext("Categories"); ?></a> 303 <a class="if_menu_item<?php if ($this->_selected_menuitem == "dossiers") { echo "_act"; } ?>" href="./index.php?action=show_dossiers"><?php echo gettext("Dossiers"); ?></a> 304 <a class="if_menu_item<?php if ($this->_selected_menuitem == "authors") { echo "_act"; } ?>" href="./index.php?action=show_authors"><?php echo gettext("Authors"); ?></a> 305 <a class="if_menu_item<?php if ($this->_selected_menuitem == "users") { echo "_act"; } ?>" href="./index.php?action=show_users"><?php echo gettext("Users"); ?></a> 306 <a class="if_menu_item<?php if ($this->_selected_menuitem == "posts") { echo "_act"; } ?>" href="./index.php?action=show_posts"><?php echo gettext("Posts"); ?></a> 307 <a class="if_menu_item<?php if ($this->_selected_menuitem == "comments") { echo "_act"; } ?>" href="./index.php?action=show_comments"><?php echo gettext("Comments"); ?></a> 313 <a class="if_menu_item<?php if ($this->_selected_menuitem == "index") { echo "_act"; } ?>" href="./index.php"><?php echo gettext("Main"); ?></a> 314 <a class="if_menu_item<?php if ($this->_selected_menuitem == "manage") { echo "_act"; } ?>" href="./index.php?action=show_posts"><?php echo gettext("Manage"); ?></a> 315 <a class="if_menu_item<?php if ($this->_selected_menuitem == "users") { echo "_act"; } ?>" href="./index.php?action=show_authors"><?php echo gettext("Users"); ?></a> 316 <a class="if_menu_item<?php if ($this->_selected_menuitem == "settings") { echo "_act"; } ?>" href="./index.php?action=show_settings"><?php echo gettext("Settings"); ?></a> 308 317 <a class="if_menu_item<?php if ($this->_selected_menuitem == "plugins") { echo "_act"; } ?>" href="./index.php?action=show_plugins"><?php echo gettext("Plugins"); ?></a> 309 <a class="if_menu_item<?php if ($this->_selected_menuitem == "settings") { echo "_act"; } ?>" href="./index.php?action=show_settings"><?php echo gettext("Blogsettings"); ?></a> 310 <a class="if_menu_item<?php if ($this->_selected_menuitem == "menuitems") { echo "_act"; } ?>" href="./index.php?action=show_menuitems"><?php echo gettext("Menuitems"); ?></a> 311 318 <a class="if_menu_item<?php if ($this->_selected_menuitem == "import") { echo "_act"; } ?>" href="./index.php?action=show_import"><?php echo gettext("Import"); ?></a> 312 319 <a class="if_menu_item" href="./index.php?action=logout"><?php echo gettext("Logout"); ?></a> 320 </div> 321 <div id="if_submenu"> 322 <?php 323 switch ($this->_selected_menuitem) { 324 case "manage" : 325 ?> 326 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "posts") { echo "_act"; } ?>" href="./index.php?action=show_posts"><?php echo gettext("Posts"); ?></a> 327 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "dossiers") { echo "_act"; } ?>" href="./index.php?action=show_dossiers"><?php echo gettext("Dossiers"); ?></a> 328 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "categories") { echo "_act"; } ?>" href="./index.php?action=show_cats"><?php echo gettext("Categories"); ?></a> 329 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "comments") { echo "_act"; } ?>" href="./index.php?action=show_comments"><?php echo gettext("Comments"); ?></a> 330 <?php 331 break; 332 case "users" : 333 ?> 334 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "authors") { echo "_act"; } ?>" href="./index.php?action=show_authors"><?php echo gettext("Authors"); ?></a> 335 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "users") { echo "_act"; } ?>" href="./index.php?action=show_users"><?php echo gettext("Users"); ?></a> 336 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "my") { echo "_act"; } ?>" href="./index.php?action=edit_author&id=<?php echo $_SESSION["author_id"];?>"><?php echo gettext("Your profile"); ?></a> 337 <?php 338 break; 339 case "settings" : 340 ?> 341 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "settings") { echo "_act"; } ?>" href="./index.php?action=show_settings"><?php echo gettext("Settings"); ?></a> 342 <a class="if_submenu_item<?php if ($this->_selected_submenuitem == "menuitems") { echo "_act"; } ?>" href="./index.php?action=show_menuitems"><?php echo gettext("Menuitems"); ?></a> 343 <?php 344 break; 345 default: 346 break; 347 } 348 ?> 313 349 </div> 314 350 <?php
