This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select.bs-select-hidden,.bootstrap-select>select.bs-select-hidden,select.selectpicker{display:none !important}.bootstrap-select{width:220px \0;vertical-align:middle}.bootstrap-select>.dropdown-toggle{position:relative;width:100%;text-align:right;white-space:nowrap;display:inline-flex;align-items:center;justify-content:space-between}.bootstrap-select>.dropdown-toggle:after{margin-top:-1px}.bootstrap-select>.dropdown-toggle.bs-placeholder,.bootstrap-select>.dropdown-toggle.bs-placeholder:hover,.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,.form-check .bootstrap-select>[type='checkbox']:focus+label.dropdown-toggle.bs-placeholder,.form-check .bootstrap-select>[type='radio']:focus+label.dropdown-toggle.bs-placeholder,.toggles label .bootstrap-select>input[type='checkbox']:focus+.dropdown-toggle.bs-placeholder.lever,.bootstrap-select>.dropdown-toggle.bs-placeholder:active{color:#999}.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-primary,.bootstrap-select>.dropdown-toggle.bs-placeholder.defaultbutto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################# | |
##### DEBUG ##### | |
################# | |
[MailSettings] | |
Transport=file | |
[ContentSettings] | |
ViewCaching=disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
set_time_limit ( 0 ); | |
require_once 'autoload.php'; | |
$cli = eZCLI::instance(); | |
$script = eZScript::instance( array( 'description' => ( "Follia" ), | |
'use-session' => false, | |
'use-modules' => true, | |
'use-extensions' => true ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Genarates formatted tables for CLI output | |
*/ | |
class Table { | |
/** | |
* Table header, array of names | |
* @var array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from ezcontentobject_version where contentobject_id in (select id from ezcontentobject where contentclass_id not in (select id from ezcontentclass)); | |
delete from ezcontentobject_version where contentobject_id in (select id from ezcontentobject where contentclass_id not in (select id from ezcontentclass)) | |
select count(*) from ezcontentobject_attribute where contentobject_id in (select id from ezcontentobject where contentclass_id not in (select id from ezcontentclass)); | |
delete from ezcontentobject_attribute where contentobject_id in (select id from ezcontentobject where contentclass_id not in (select id from ezcontentclass)); | |
select count(*) from ezcontentobject_name where contentobject_id in (select id from ezcontentobject where contentclass_id not in (select id from ezcontentclass)); | |
delete from ezcontentobject_name where contentobject_id in (select id from ezcontentobject where contentclass_id not in (select id from ezcontentclass)); | |
select count(*) from ezcontentobject_tree where contentobject_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$endpoint = 'https://master-7rqtwti-yxjilnpzbcin2.eu-2.platformsh.site/api/ezp/v2/'; | |
$user = 'admin'; | |
$password = 'publish'; | |
$debug = false; | |
function output($string, $addEOL = true) | |
{ | |
$eol = $addEOL ? "\n" : ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Genarates formatted tables for CLI output | |
*/ | |
class Table { | |
/** | |
* Table header, array of names | |
* @var array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
$arguments = $GLOBALS['argv']; | |
$program = $arguments[0]; | |
array_shift($arguments); | |
$config = array( | |
'login' => $arguments[1], | |
'password' => $arguments[2], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
$arguments = $GLOBALS['argv']; | |
$program = $arguments[0]; | |
array_shift($arguments); | |
$home = getenv("HOME"); | |
$configFile = "$home/.opencensimento"; | |
if (!file_exists($configFile)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'autoload.php'; | |
$script = eZScript::instance(array( | |
'description' => ( "Cambio password\n\n" ), | |
'use-session' => false, | |
'use-modules' => true, | |
'use-extensions' => true | |
)); |
NewerOlder