public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
Search Repo:
Change the name to '-------' only when the Seperator content type is 
saved.

git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk@3323 
3d254a34-79dc-0310-9e5f-be208747d8a0
dittmann (author)
Thu Aug 17 20:39:23 -0700 2006
commit  1e8316fb03d2c1335c0ea55c62bc26a9a1861cea
tree    17e44842325e626c58bf650c0b1b3cbbcf96e4cf
parent  c101692b8dfaff0487ff8982051d383a3512bbb6
...
45
46
47
48
49
50
51
...
105
106
107
 
 
 
 
 
108
109
110
...
45
46
47
 
48
49
50
...
104
105
106
107
108
109
110
111
112
113
114
0
@@ -45,7 +45,6 @@
0
     {
0
   if (isset($params))
0
   {
0
- $this->mName = '--------';
0
    if (isset($params['parent_id']))
0
    {
0
     if ($this->mParentId != $params['parent_id'])
0
@@ -105,6 +104,11 @@
0
     function GetURL($rewrite = true)
0
     {
0
   return '#';
0
+ }
0
+ function Save()
0
+ {
0
+ $this->mName = '--------';
0
+ ContentBase::Save();
0
     }
0
 }
0
 

Comments

    No one has commented yet.