Assembla home | Assembla project page
 

Changeset 142

Show
Ignore:
Timestamp:
08/07/07 17:02:18 (1 year ago)
Author:
digitalspaghetti
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branch/app_controller.php

    r140 r142  
    7474                 
    7575                 
    76                 $sitetheme = "extlayout"; 
     76                $sitetheme = "default"; 
    7777                 
    7878                $this->layout = $sitetheme; 
  • branch/config/routes.php

    r119 r142  
    3636        Router::connect('/', array('controller' => 'posts', 'action' => 'index')); 
    3737        Router::connect('/admin', array('controller' => 'users', 'action' => 'login')); 
     38        Router::connect('/news', array('controller' => 'posts', 'action' => 'index')); 
    3839        Router::parseExtensions('rss'); 
    3940/** 
  • branch/controllers/posts_controller.php

    r138 r142  
    4646        } 
    4747 
    48         function add() { 
    49                 if ($this->level >= 500 ) { 
    50                         if(!empty($this->data)) { 
    51                                 $this->data['Post']['user_id'] = $this->othAuth->user('id'); 
    52                                 $this->cleanUpFields(); 
    53                                 $this->Post->create(); 
    54                                 if($this->Post->save($this->data)) { 
    55                                         $this->Session->setFlash('The Post has been saved'); 
    56                                         $this->redirect(array('action'=>'index'), null, true); 
    57                                 } else { 
    58                                         $this->Session->setFlash('The Post could not be saved. Please, try again.'); 
    59                                 } 
    60                         } 
    61                         $this->set('access_levels', $this->Group->generateList(null, 'Group.name ASC', null,'{n}.Group.level', '{n}.Group.name')); 
    62                         $this->set('subjects', $this->Post->Subject->generateList()); 
    63                         $this->set('images', $this->Post->Image->generateList(null,null,null,'{n}.Image.id', '{n}.Image.alt')); 
    64                 } else { 
    65                         $this->Session->setFlash('You do not have permission to add a post.  Please log in.'); 
    66                         $this->redirect(array('controller' => 'users','action'=>'login'), null, true); 
    67                 } 
    68                  
    69         } 
    70  
    71         function edit($id = null) { 
    72                 if ($this->othAuth->user('id') == $this->data['Post']['user_id'] || $this->level >= 900) { 
    73                         if(!$id && empty($this->data)) { 
    74                                 $this->Session->setFlash('Invalid Post'); 
    75                                 $this->redirect(array('action'=>'index'), null, true); 
    76                         } 
    77                         if(!empty($this->data)) { 
    78                                 $this->cleanUpFields(); 
    79                                 if($this->Post->save($this->data)) { 
    80                                         $this->Session->setFlash('The Post saved'); 
    81                                         $this->redirect(array('action'=>'index'), null, true); 
    82                                 } else { 
    83                                         $this->Session->setFlash('The Post could not be saved. Please, try again.'); 
    84                                 } 
    85                         } 
    86                         $this->set('access_levels', $this->Group->generateList(null, 'Group.name ASC', null,'{n}.Group.level', '{n}.Group.name')); 
    87                         $this->set('subjects', $this->Post->Subject->generateList()); 
    88                         $this->set('images', $this->Post->Image->generateList(null,null,null,'{n}.Image.id', '{n}.Image.alt')); 
    89                 } else { 
    90                         $this->Session->setFlash('You do no have permission to edit this post'); 
    91                         $this->redirect(array('controller'=>'users','action'=>'login'), null, true); 
    92                 } 
    93                 if(empty($this->data)) { 
    94                         $this->data = $this->Post->read(null, $id); 
    95                 } 
    96         } 
    97  
    98         function delete($id = null) { 
    99                 if(!$id) { 
    100                         $this->Session->setFlash('Invalid id for Post'); 
    101                         $this->redirect(array('action'=>'index'), null, true); 
    102                 } 
    103                 if ($this->othAuth->user('id') == $this->data['Post']['user_id'] || $this->level >= 900) { 
    104                         if($this->Post->del($id)) { 
    105                                 $this->Session->setFlash('Post #'.$id.' deleted'); 
    106                                 $this->redirect(array('action'=>'index'), null, true); 
    107                         } 
    108                 } else { 
    109                         $this->Session->setFlash('You do no have permission to edit this post'); 
    110                         $this->redirect(array('controller'=>'users','action'=>'login'), null, true); 
    111                 } 
    112         } 
    113  
    114  
    11548        function admin_index() { 
    11649                // Increase recursion to get post tags and comments 
     
    15083                        $this->Post->create(); 
    15184                        if($this->Post->save($this->data)) { 
    152                                 if ($this->isAjax) { 
    153                                         $this->redirect(array('action' => 'home#remote-tab-1'),null, true); 
    154                                 } else { 
    15585                                        $this->Session->setFlash('The Post has been saved'); 
    156                                         $this->redirect(array('action'=>'home'), null, true); 
    157                                 } 
     86                                        $this->redirect(array('action'=>'index'), null, true); 
    15887                        } else { 
    15988                                $this->Session->setFlash('The Post could not be saved. Please, try again.'); 
     
    173102                        $this->cleanUpFields(); 
    174103                        if($this->Post->save($this->data)) { 
    175                                 if ($this->isAjax) { 
    176                                         $this->redirect('#remote-tab-1'); 
    177                                 } else { 
    178104                                        $this->Session->setFlash('The Post has been saved'); 
    179                                         $this->redirect(array('action'=>'home'), null, true); 
    180                                 } 
     105                                        $this->redirect(array('action'=>'index'), null, true); 
    181106                        } else { 
    182107                                $this->Session->setFlash('The Post could not be saved. Please, try again.'); 
     
    206131        } 
    207132         
    208         function admin_home() 
    209         { 
    210                  
    211         } 
    212          
    213133        function recentPosts($max = 5) 
    214134        { 
  • branch/views/elements/js_include.ctp

    r140 r142  
    55<?php e($javascript->link('jquery'));?> 
    66<?php e($javascript->link('jquery-plugins'));?> 
    7 <?php e($javascript->link('ext-jquery-adapter'));?> 
    8 <?php e($javascript->link('ext-all'));?> 
    9 <?php e($javascript->link('ext-layout'));?> 
    107 
    118<?php e($javascript->link('jquery.autocomplete'));?> 
     
    1815<?php e($javascript->link('jquery.jmaps'));?> 
    1916<?php e($javascript->link('jquery.thickbox'));?> 
    20 <?php e($javascript->link('jquery.tabs'));?> 
    21 <?php e($javascript->link('jquery.history_remote.pack'));?> 
    2217<?php e($javascript->link('jquery.ability'));?> 
    2318<?php e($javascript->link('jquery.passstrength'));?> 
     
    2621<?php e($javascript->link('ui.drag'));?> 
    2722<?php e($javascript->link('ui.drag.ext'));?> 
    28 <!-- WymEditor JavaScript--> 
    29 <?php e($javascript->link('wymeditor/jquery.wymeditor'));?> 
    30 <?php e($javascript->link('wymeditor/plugins/tidy/jquery.wymeditor.tidy'));?> 
    31 <?php e($javascript->link('wymeditor/plugins/hovertools/jquery.wymeditor.hovertools'));?> 
     23<?php e($javascript->link('jtageditor.full/jquery.jtageditor'));?> 
     24 
    3225<!-- Webrocket JS File--> 
    3326<?php e($javascript->link('webrocket'));?> 
  • branch/views/layouts/default.ctp

    r139 r142  
    1717        <div id="doc3" class="yui-t7"> 
    1818                <div id="hd"> 
    19                 <div id="accessibility" style="position:relative;"></div
     19                <!--<div id="accessibility" style="position:relative;"></div>--
    2020                </div> 
    2121                <div class="nav-area"><?php e($this->renderElement('mainnav'));?></div> 
  • branch/views/pages/admin_add.ctp

    r124 r142  
    66                        <legend>Main Content</legend> 
    77                        <?php echo $form->input('title', array('class' => 'required'));?> 
    8                         <?php echo $form->input('body', array('class' => 'wymeditor'));?> 
     8                        <?php echo $form->input('body', array('class' => 'rte'));?> 
    99                </fieldset> 
    1010                 
     
    2121                </fielset> 
    2222                 
    23                 <?php echo $form->end('Add', array('class'=>'wymupdate'));?> 
     23                <?php echo $form->end('Add');?> 
    2424        </form> 
    2525</div> 
  • branch/views/pages/admin_edit.ctp

    r124 r142  
    77                        <?php echo $form->input('id');?> 
    88                        <?php echo $form->input('title', array('class' => 'required'));?> 
    9                         <?php echo $form->input('body', array('class' => 'wymeditor'));?> 
     9                        <?php echo $form->input('body', array('class' => 'rte'));?> 
    1010                </fieldset> 
    1111                 
     
    2222                </fielset> 
    2323                 
    24                 <?php echo $form->end('Update', array('class'=>'wymupdate'));?> 
     24                <?php echo $form->end('Update');?> 
    2525        </form> 
    2626</div> 
  • branch/views/posts/admin_add.ctp

    r124 r142  
    1 <?php e($javascript->link('forminit'));?> 
    2  
    3 <div class="success" style="display:none;"> 
    4         <h2>Post has successfuly saved.</h2> 
    5 </div> 
    6  
    71<div class="post"> 
    8 <h2>New Post</h2> 
     2<h2><?php __('New');?> <?php __('Post');?></h2> 
    93        <?php echo $form->create('Post');?> 
    104                <fieldset id="main-content"> 
    11                         <legend>Main Content</legend> 
     5                        <legend><?php __('Main Content');?></legend> 
    126                        <?php echo $form->input('title', array('class' => 'required'));?> 
    137                        <?php echo $form->input('byline', array('class' => 'required'));?> 
    14                         <?php echo $form->input('body',array('class'=>'wymeditor'));?> 
     8                        <?php echo $form->input('body',array('class'=>'rte'));?> 
    159                        <?php e($form->input('image_id', array('options'=>$images)));?> 
    1610                        <a href="<?php echo $html->url('/admin/images/add');?>?KeepThis=true&TB_iframe=true&height=400&width=600" id="add-image" class="thickbox">Upload New Image</a> 
     
    1812                 
    1913                <fieldset id="meta-content"> 
    20                         <legend>Meta Data</legend> 
     14                        <legend><?php __('Meta Data');?></legend> 
    2115                        <?php echo $form->input('subject_id', array('class' => 'required', 'options' => $subjects));?> 
    2216                        <?php echo $form->input('tags', array('class' => 'tags', 'type'=>'text'));?>                             
     
    2418                 
    2519                <fieldset id="publishing-options"> 
    26                         <legend>Publishing Options</legend> 
     20                        <legend><?php __('Publishing Options');?></legend> 
    2721                        <?php echo $form->input('post_date', array('class' => 'required'));?> 
    2822                        <?php echo $form->input('access_level', array('class' => 'required', 'options'=>$access_levels));?> 
    2923                        <?php echo $form->input('frontpage');?> 
    3024                        <?php echo $form->input('published', array('class' => 'required'));?> 
    31                 </fieldset> 
    32                                  
    33                 <?php echo $form->submit('Add', array('class'=>'wymupdate'));?> 
     25                </fieldset>      
     26                <?php echo $form->submit('Add');?> 
    3427        </form> 
    3528</div> 
  • branch/views/posts/admin_edit.ctp

    r124 r142  
    1 <?php e($javascript->link('forminit'));?> 
    2  
    3 <div class="success" style="display:none;"> 
    4         <h2>Post has successfuly saved.</h2> 
    5 </div> 
    6  
    71<div class="post"> 
    8 <h2>Edit Post</h2> 
     2<h2><?php __('Edit');?> <?php __('Post');?></h2> 
    93        <?php echo $form->create('Post');?> 
    104                <fieldset id="main-content"> 
    11                         <legend>Main Content</legend> 
     5                        <legend><?php __('Main Content');?></legend> 
    126                        <?php echo $form->input('id');?> 
    137                        <?php echo $form->input('title', array('class' => 'required'));?> 
    148                        <?php echo $form->input('byline', array('class' => 'required'));?> 
    15                         <?php echo $form->input('body',array('class'=>'wymeditor'));?> 
     9                        <?php echo $form->input('body',array('class'=>'rte'));?> 
    1610                        <?php e($form->input('image_id', array('options'=>$images)));?> 
    17                         <a href="/admin/images/add?KeepThis=true&TB_iframe=true&height=400&width=600" id="add-image" class="thickbox">Upload New Image</a> 
    1811                </fieldset> 
    1912                 
    2013                <fieldset id="meta-content"> 
    21                         <legend>Meta Data</legend> 
     14                        <legend><?php __('Meta Data');?></legend> 
    2215                        <?php echo $form->input('subject_id', array('class' => 'required', 'options' => $subjects));?> 
    2316                        <?php echo $form->input('tags', array('class' => 'tags', 'type'=>'text'));?>                             
     
    2518                 
    2619                <fieldset id="publishing-options"> 
    27                         <legend>Publishing Options</legend> 
     20                        <legend><?php __('Publishing Options');?></legend> 
    2821                        <?php echo $form->input('post_date', array('class' => 'required'));?> 
    2922                        <?php echo $form->input('access_level', array('class' => 'required', 'options'=>$access_levels));?> 
    3023                        <?php echo $form->input('frontpage');?> 
    3124                        <?php echo $form->input('published', array('class' => 'required'));?> 
    32                 </fieldset> 
    33                                  
    34                 <?php echo $form->submit('Add', array('class'=>'wymupdate'));?> 
     25                </fieldset>      
     26                <?php echo $form->submit('Update');?> 
    3527        </form> 
    3628</div> 
  • branch/views/posts/admin_index.ctp

    r131 r142  
    1 <?php e($javascript->link('forminit'));?> 
    2  
    31<?php if ($posts) { ?> 
    42        <div class="posts"> 
    5         <h2>List Posts</h2> 
    6         <div> 
    7                 Overall there are <?php e($postcount);?> posts on this site.<br /> 
    8                 From these posts, <?php e($posts[0]['User']['posts_count']);?> are yours. 
    9         </div> 
     3        <h2><?php __('Post');?> <?php __('Managment');?></h2> 
     4        <dl class="stats"> 
     5                <dd><?php e($postcount);?></dd> 
     6                <dt><?php __('Overall');?> <?php __('Posts');?></dt> 
     7                <dd><?php e($posts[0]['User']['posts_count']);?></dd> 
     8                <dt><?php __('Your');?> <?php __('Posts');?></dt> 
     9        </dl> 
     10        <br style="clear:both;" /> 
     11        <span class="new-item"><?php echo $html->link('New Post', array('action'=>'add')); ?></span> 
    1012 
    1113        <table cellpadding="0" cellspacing="0"> 
     
    5860        </div> 
    5961<?php } else { ?> 
    60         <h2>There are currently no posts. Click <?php echo $html->link('here', '#remote-tab-2'); ?> to create one.</h2> 
     62        <h2>There are currently no posts. Click <?php echo $html->link('here', array('action'=>'add')); ?> to create one.</h2> 
    6163<?php } ?> 
  • branch/views/posts/index.ctp

    r139 r142  
    44                <div class="hentry"> 
    55        <h2 class="entry-title"><?php e($html->link($post['Post']['title'], array('controller'=>'posts', 'action'=>'view', $post['Post']['slug']))); ?></h2> 
    6         <?php echo $html->link('Edit', array('action'=>'edit', $post['Post']['id'])); ?> 
    76        <abbr class="updated" title=""><?php echo $post['Post']['post_date']; ?></abbr> 
    8         <span class="vcard author"><?php echo $html->link($post['User']['username'], array('controller'=> 'users', 'action'=>'view', $post['User']['id'])); ?></span> 
     7        <span class="vcard author"><?php echo $html->link($post['User']['username'], array('controller'=> 'users', 'action'=>'view', $post['User']['id']), array('class'=>'fn')); ?></span> 
    98        <div class="entry-content"> 
    109                <div class="entry-text"> 
  • branch/webroot/css/default.css

    r133 r142  
    77@import url('jquery.tabs-ie.css'); 
    88@import url('thickbox.css'); 
    9 @import url('../js/wymeditor/skins/default/screen.css'); 
     9@import url('../js/jtageditor.full/html/html-skin.css'); 
    1010 
    1111/* Layout Code */ 
     
    7979    display: block; 
    8080} 
     81 
     82input[type="text"], input[type="password"],input[type="submit"], textarea, select, input[type="checkbox"]  { 
     83        border:3px solid #3366CC; 
     84} 
     85 
     86input[type="text"]:focus, input[type="password"]:focus,input[type="submit"]:focus, textarea:focus, select:focus  { 
     87        border:3px solid #f00; 
     88} 
     89 
    8190input[type="text"], input[type="password"] { 
    8291    display: block; 
     
    8796} 
    8897input[type="text"], textarea { 
    89     border-top: 2px solid #999; 
    90     border-left: 2px solid #999; 
    91     border-bottom: 1px solid #ccc; 
    92     border-right: 1px solid #ccc; 
     98 
    9399} 
    94100 
    95101input[type="submit"] { 
    96102        width:200px; 
    97         border-bottom: 2px solid #999; 
    98     border-right: 2px solid #999; 
    99     border-top: 1px solid #ccc; 
    100     border-left: 1px solid #ccc; 
    101 
    102  
    103 input:focus { 
    104     background: #ccffcc; 
    105 
     103
     104 
    106105textarea { 
    107106    width: 99%;; 
     
    210209    width:80%; 
    211210    background:transparent; 
    212 
     211        line-height:1.2em; 
     212
     213div.hentry div.entry-content div.entry-text p { 
     214        line-height:1.4em; 
     215        margin-bottom:1.2em;     
     216
     217 
    213218div.hentry div.meta { 
    214219    clear:both; 
     
    257262   padding-left: 18px; 
    258263} 
     264 
     265.stats { 
     266        display:block; 
     267        width: 300px; 
     268        border:3px solid #3366CC; 
     269} 
     270 
     271.stats dt { 
     272        background: #111; 
     273        border:1px solid #000; 
     274} 
     275 
     276.stats dd { 
     277        float:right; 
     278} 
     279 
     280.new-item { 
     281        width: 200px; 
     282        height:30px; 
     283        border:3px solid #fff; 
     284} 
  • branch/webroot/js/forminit.js

    r131 r142  
    11$j(function() { 
    2      
    3     $j(".wymeditor").wymeditor({ 
    4                  
    5         classesItems:[ 
    6                 {name:"date", title:"PARA: Date", expr:"p"},  
    7                 {name:"hidden-note", title:"PARA: Hidden note", expr:"p[@class!=\"important\"]"},  
    8                 {name:"important", title:"PARA: Important", expr:"p[@class!=\"hidden-note\"]"},  
    9                 {name:"border", title:"IMG: Border", expr:"img"},  
    10                 {name:"special", title:"LIST: Special", expr:"ul, ol"}, 
    11                 {name:"vcard", title:"hCard Microformat", expr:"p[@class!=\"hcard\"]"}],  
    12                  
    13         editorStyles:[ 
    14                 {name:".hidden-note", css:"color: #999; border: 2px solid #ccc;"},  
    15                 {name:".border", css:"border: 4px solid #ccc;"},  
    16                 {name:".date", css:"background-color: #ff9; border: 2px solid #ee9;"},  
    17                 {name:".important", css:"color: red; font-weight: bold; border: 2px solid red;"},  
    18                 {name:".special", css:"background-color: #fc9; border: 2px solid red;"}, 
    19                 {name:".vcard", css:"border:2px solid #000;"}],  
    20                  
    21         dialogStyles:[ 
    22                 {name:".hidden-note", css:"display: none;"},  
    23                 {name:".border", css:"border: 1px solid #ccc;"},  
    24                 {name:".date", css:"color: #ccf;"},  
    25                 {name:".important", css:"color: red; font-weight: bold;"},  
    26                 {name:".special", css:"color: green;"}, 
    27                 {name:".vcard", css:"color:red"}],  
    28                  
    29         postInit:function (wym) { 
    30                 wym.status("&nbsp;"); 
    31                 var wymtidy = wym.tidy({sUrl:"/js/wymeditor/plugins/tidy/tidy.php", sButtonHtml:"<li class='wym_tools_tidy'><a name='CleanUp' href='#' style='background-image: url(/js/wymeditor/plugins/tidy/wand.png)'>Clean up HTML</a></li>"}); 
    32                 wymtidy.init();wym.hovertools();}, postInitDialog:function (wym, wdw) {var body = wdw.document.body;var sSelectLink = "<div class='row row-indent'><select class='wym_select_link'><option selected value='WYMeditor http://www.wymeditor.org/'>WYMeditor</option><option value='SourceForge http://www.sourceforge.net/'>SourceForge</option><option value='GNU http://www.gnu.org/'>GNU</option></select><input class='wym_choose' type='button' value='{Choose}' /></div>"; 
    33                 $j(body).filter(".wym_dialog_link").find("fieldset").eq(0).prepend(wym.replaceStrings(sSelectLink)); 
    34                 $j(body).find(".wym_choose").click(function () {var sVal = $j(body).find(".wym_select_link").val(); 
    35                 $j(body).find(".wym_href").val(sVal.substring(sVal.lastIndexOf(" ") + 1)); 
    36                 $j(body).find(".wym_title").val(sVal.substr(0, sVal.lastIndexOf(" ")));});} 
    37         }); 
    38          
    39         $j(".wymsubmit").click(function () {alert($j(this).siblings(".wymeditor").val());}); 
    402         
    413        $j(".tags").autocomplete("/tags/autocomplete", { multiple: true, mustMatch: false }); 
  • branch/webroot/js/webrocket.js

    r137 r142  
    22 
    33$j(function() { 
    4      
    5     $j(".wymeditor").wymeditor({ 
    6                  
    7         classesItems:[ 
    8                 {name:"date", title:"PARA: Date", expr:"p"},  
    9                 {name:"hidden-note", title:"PARA: Hidden note", expr:"p[@class!=\"important\"]"},  
    10                 {name:"important", title:"PARA: Important", expr:"p[@class!=\"hidden-note\"]"},  
    11                 {name:"border", title:"IMG: Border", expr:"img"},  
    12                 {name:"special", title:"LIST: Special", expr:"ul, ol"}, 
    13                 {name:"vcard", title:"hCard Microformat", expr:"p[@class!=\"hcard\"]"}],  
    14                  
    15         editorStyles:[ 
    16                 {name:".hidden-note", css:"color: #999; border: 2px solid #ccc;"},  
    17                 {name:".border", css:"border: 4px solid #ccc;"},  
    18                 {name:".date", css:"background-color: #ff9; border: 2px solid #ee9;"},  
    19                 {name:".important", css:"color: red; font-weight: bold; border: 2px solid red;"},  
    20                 {name:".special", css:"background-color: #fc9; border: 2px solid red;"}, 
    21                 {name:".vcard", css:"border:2px solid #000;"}],  
    22                  
    23         dialogStyles:[ 
    24                 {name:".hidden-note", css:"display: none;"},  
    25                 {name:".border", css:"border: 1px solid #ccc;"},  
    26                 {name:".date", css:"color: #ccf;"},  
    27                 {name:".important", css:"color: red; font-weight: bold;"},  
    28                 {name:".special", css:"color: green;"}, 
    29                 {name:".vcard", css:"color:red"}],  
    30                  
    31         postInit:function (wym) { 
    32                 wym.status("&nbsp;"); 
    33                 var wymtidy = wym.tidy({sUrl:"/js/wymeditor/plugins/tidy/tidy.php", sButtonHtml:"<li class='wym_tools_tidy'><a name='CleanUp' href='#' style='background-image: url(/js/wymeditor/plugins/tidy/wand.png)'>Clean up HTML</a></li>"}); 
    34                 wymtidy.init();wym.hovertools();}, postInitDialog:function (wym, wdw) {var body = wdw.document.body;var sSelectLink = "<div class='row row-indent'><select class='wym_select_link'><option selected value='WYMeditor http://www.wymeditor.org/'>WYMeditor</option><option value='SourceForge http://www.sourceforge.net/'>SourceForge</option><option value='GNU http://www.gnu.org/'>GNU</option></select><input class='wym_choose' type='button' value='{Choose}' /></div>"; 
    35                 $j(body).filter(".wym_dialog_link").find("fieldset").eq(0).prepend(wym.replaceStrings(sSelectLink)); 
    36                 $j(body).find(".wym_choose").click(function () {var sVal = $j(body).find(".wym_select_link").val(); 
    37                 $j(body).find(".wym_href").val(sVal.substring(sVal.lastIndexOf(" ") + 1)); 
    38                 $j(body).find(".wym_title").val(sVal.substr(0, sVal.lastIndexOf(" ")));});} 
    39         }); 
    404         
    41         $j(".wymsubmit").click(function () {alert($j(this).siblings(".wymeditor").val());}); 
    42        
     5        $(".rte").jTagEditor({ tagSet:"/js/jtageditor.full/html/html-tags.js" }); 
     6       
    437        $j(".tags").autocomplete("/tags/autocomplete", { multiple: true, mustMatch: false }); 
    448         
     
    5216         
    5317        $j('.jd_menu').jdMenu(); 
    54          
    55         $j('#login').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' }); 
    56         $j('#admin-tabs').tabs({ remote: true, fxFade: true, fxSpeed: 'normal' }); 
    57          
     18                 
    5819        $j('form#PostAddForm').ajaxForm({success: showResponse}); 
    5920        function showResponse(){ 
     
    7637        $j('tr:odd').addClass("odd"); 
    7738         
    78         $j('div#accessibility').draggable({handle: "span.aheader", containment: "document", opacity: 0.4 ,revert: false}); 
     39        /*$j('div#accessibility').draggable({handle: "span.aheader", containment: "document", opacity: 0.4 ,revert: false});*/ 
    7940         
    8041});