There are no LaconicaScripts left
This commit is contained in:
parent
6ef1967cec
commit
25e61916f9
@ -51,12 +51,6 @@ StartShowStatusNetScripts: Showing StatusNet script links (use this to link to a
|
|||||||
EndShowStatusNetScripts: End showing StatusNet script links
|
EndShowStatusNetScripts: End showing StatusNet script links
|
||||||
- $action: the current action
|
- $action: the current action
|
||||||
|
|
||||||
StartShowLaconicaScripts: backwards compatibility; deprecated
|
|
||||||
- $action: the current action
|
|
||||||
|
|
||||||
EndShowLaconicaScripts: backwards compatibility; deprecated
|
|
||||||
- $action: the current action
|
|
||||||
|
|
||||||
StartShowSections: Start the list of sections in the sidebar
|
StartShowSections: Start the list of sections in the sidebar
|
||||||
- $action: the current action
|
- $action: the current action
|
||||||
|
|
||||||
|
@ -381,8 +381,7 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
|
|
||||||
Event::handle('EndShowJQueryScripts', array($this));
|
Event::handle('EndShowJQueryScripts', array($this));
|
||||||
}
|
}
|
||||||
if (Event::handle('StartShowStatusNetScripts', array($this)) &&
|
if (Event::handle('StartShowStatusNetScripts', array($this))) {
|
||||||
Event::handle('StartShowLaconicaScripts', array($this))) {
|
|
||||||
if (common_config('site', 'minify')) {
|
if (common_config('site', 'minify')) {
|
||||||
$this->script('util.min.js');
|
$this->script('util.min.js');
|
||||||
} else {
|
} else {
|
||||||
@ -403,7 +402,6 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
$this->inlineScript('if (window.top !== window.self) { document.write = ""; window.top.location = window.self.location; setTimeout(function () { document.body.innerHTML = ""; }, 1); window.self.onload = function () { document.body.innerHTML = ""; }; }');
|
$this->inlineScript('if (window.top !== window.self) { document.write = ""; window.top.location = window.self.location; setTimeout(function () { document.body.innerHTML = ""; }, 1); window.self.onload = function () { document.body.innerHTML = ""; }; }');
|
||||||
}
|
}
|
||||||
Event::handle('EndShowStatusNetScripts', array($this));
|
Event::handle('EndShowStatusNetScripts', array($this));
|
||||||
Event::handle('EndShowLaconicaScripts', array($this));
|
|
||||||
}
|
}
|
||||||
Event::handle('EndShowScripts', array($this));
|
Event::handle('EndShowScripts', array($this));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user