Changeset 1086
- Timestamp:
- 09/01/06 07:00:58 (5 years ago)
- Location:
- trunk/wifidog-auth
- Files:
-
- 2 modified
-
CHANGELOG (modified) (1 diff)
-
wifidog/classes/Content.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/CHANGELOG
r1085 r1086 1 2006-09-01 Benoit Grégoire <bock@step.polymtl.ca> 2 * Content.php: Improve handling of simple but persistent content. 3 1 4 2006-08-31 Benoit Grégoire <bock@step.polymtl.ca> 2 5 * Server.php: Make sure getCurrentServer returns the default server if the hostname isn't recognised. -
trunk/wifidog-auth/wifidog/classes/Content.php
r1085 r1086 1171 1171 } else { 1172 1172 // Content metadata 1173 if ($this->is_trivial_content == false ) {1173 if ($this->is_trivial_content == false || $this->isPersistent()) { 1174 1174 $html .= "<fieldset class='admin_element_group'>\n"; 1175 1175 $html .= "<legend>".sprintf(_("%s MetaData"),get_class($this))."</legend>\n"; … … 1198 1198 } 1199 1199 $html .= "</li>\n"; 1200 1200 } 1201 1202 if ($this->is_trivial_content == false) { 1201 1203 /* description */ 1202 1204 $html .= "<li class='admin_element_item_container admin_section_edit_description'>\n"; … … 1249 1251 } 1250 1252 $html .= "</li>\n"; 1251 } //End content medatada1253 } 1252 1254 1255 //End content medatada 1256 if ($this->is_trivial_content == false || $this->isPersistent()) { 1257 $html .= "</fieldset>\n"; 1258 } 1253 1259 if ($this->is_trivial_content == false || $this->isPersistent()) { 1254 1260 $html .= "<fieldset class='admin_element_group'>\n"; … … 1323 1329 } else 1324 1330 {//Content medatada 1325 /* title_is_displayed */ 1331 1332 1333 if ($this->is_trivial_content == false || $this->isPersistent()) { 1334 /* title_is_displayed */ 1326 1335 if (!empty ($this->content_row['title'])){ 1327 1336 $name = "content_".$this->id."_title_is_displayed"; 1328 1337 !empty ($_REQUEST[$name]) ? $this->setTitleIsDisplayed(true) : $this->setTitleIsDisplayed(false); 1329 1338 } 1330 1331 if ($this->is_trivial_content == false) {1332 1339 /* title */ 1333 1340 if (empty ($this->content_row['title'])) { … … 1347 1354 } 1348 1355 } 1349 1356 } 1357 if ($this->is_trivial_content == false) { 1350 1358 /* description */ 1351 1359 if (empty ($this->content_row['description'])) {
