repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmServer/actions/actions.class.php
dmAdminPlugin/modules/dmServer/actions/actions.class.php
<?php class dmServerActions extends dmAdminBaseActions { public function executeIndex() { } public function executeApc() { } public function executeIncludeApc() { define('USE_AUTHENTICATION', 0); require(dmOs::join(sfConfig::get('dm_core_dir'), 'lib/vendor/apc/monitor.php')); die; } ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmServer/templates/apcSuccess.php
dmAdminPlugin/modules/dmServer/templates/apcSuccess.php
<style type="text/css"> iframe { width: 100%; height: 550px; background: none; border: none; } </style> <?php echo _tag('iframe.mt10 src='._link('dmServer/includeApc')->getHref());
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmServer/templates/indexSuccess.php
dmAdminPlugin/modules/dmServer/templates/indexSuccess.php
<style type="text/css"> iframe { width: 100%; height: 500px; } </style> <?php //echo _tag('iframe.mt10 src='.$sf_request->getAbsoluteUrlRoot().'/dm_check.php'); echo _tag('iframe.mt10 src='._link('dmServer/check')->getHref()); echo _tag('iframe.mt20 src='._link('dmServer/phpinfo')->getHref());
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmGoogleWebmasterTools/actions/actions.class.php
dmAdminPlugin/modules/dmGoogleWebmasterTools/actions/actions.class.php
<?php class dmGoogleWebmasterToolsActions extends dmAdminBaseActions { public function executeIndex(dmWebRequest $request) { $setting = dmDb::table('DmSetting')->fetchOneByName('gwt_key'); if($this->getUser()->can($setting->get('credentials'))) { $this->form = new dmConfigForm; $this-...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmGoogleWebmasterTools/templates/indexSuccess.php
dmAdminPlugin/modules/dmGoogleWebmasterTools/templates/indexSuccess.php
<?php echo _open('div.dm_google_webmaster_tools.seo_service'); echo _link('https://www.google.com/webmasters/tools/home?hl='.$sf_user->getCulture()) ->set('.dm_big_button') ->target('blank') ->text(__('Open Google Webmaster Tools page')); if(isset($form)) { echo _open('div.dm_box.little.mt40'); ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSitemap/actions/actions.class.php
dmAdminPlugin/modules/dmSitemap/actions/actions.class.php
<?php class dmSitemapActions extends dmAdminBaseActions { public function executeIndex(dmWebRequest $request) { $this->sitemap = $this->getService('xml_sitemap_generator') ->setOption('domain', $this->getRequest()->getAbsoluteUrlRoot()); if ($this->getUser()->can('system')) { $this->...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSitemap/templates/indexSuccess.php
dmAdminPlugin/modules/dmSitemap/templates/indexSuccess.php
<?php use_helper('Date'); use_stylesheet('lib.ui-tabs'); use_javascript('lib.ui-tabs'); use_javascript('admin.sitemap'); echo _open('div.dm_sitemap.mt10'); echo sprintf('%s%s%s', sprintf('<form style="text-align: center" method="post" class="dm_sitemap_generate_form" action="%s">', _link('@dm_sitemap?action=generat...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmChart/actions/actions.class.php
dmAdminPlugin/modules/dmChart/actions/actions.class.php
<?php class dmChartActions extends dmAdminBaseActions { public function executeImage(dmWebRequest $request) { $chartKey = $request->getParameter('name'); $this->tryToGetChartImage($chartKey.'_chart', array( 'width' => 500, 'height' => 300 )); if ($this->image) { r...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmChart/actions/components.class.php
dmAdminPlugin/modules/dmChart/actions/components.class.php
<?php class dmChartComponents extends dmAdminBaseComponents { public function executeLittle() { $this->chartKey = $this->name; } }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmChart/templates/showSuccess.php
dmAdminPlugin/modules/dmChart/templates/showSuccess.php
<?php echo _tag('div.dm_chart.text_align_center', !empty($image) ? $image->alt(__($chart->getName())) : __('This chart is currently not available') );
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmChart/templates/_little.php
dmAdminPlugin/modules/dmChart/templates/_little.php
<?php if (!$sf_user->can($options['credentials'])) { return; } echo _tag('div.dm_box', _tag('div.title', _link('@dm_chart?name='.$chartKey)->set('.s16block.s16_arrow_up_right')->textTitle(__('Expanded view')). _tag('h2', __($options['name'])) ). _tag('div.dm_box_inner.dm_data.m5.dm_auto_loading', arra...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmChart/templates/indexSuccess.php
dmAdminPlugin/modules/dmChart/templates/indexSuccess.php
<?php echo _open('div.dm_charts.mt10', array('json' => array( 'selected' => $selectedIndex ))); echo _open('ul'); foreach($charts as $chartKey => $options) { echo _tag('li', _link('@dm_chart?action=show&name='.$chartKey) ->text(__($options['name'])) ->set('.dm_chart_link') ); } echo _close('ul'); e...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmChart/templates/_error.php
dmAdminPlugin/modules/dmChart/templates/_error.php
<?php echo _tag('div.s16.s16_info', __('This chart is not yet available.')); echo _tag('p', __('It will activated as soon as your site have some data to be analyzed'));
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmChart/templates/_gaError.php
dmAdminPlugin/modules/dmChart/templates/_gaError.php
<?php echo _tag('div.s16.s16_info', __('This chart is not available.')); if ($sf_user->can('google_analytics')) { echo _link('@dm_google_analytics')->text(__('To enable it, provide a google analytics access')); }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmDiagram/actions/actions.class.php
dmAdminPlugin/modules/dmDiagram/actions/actions.class.php
<?php class dmDiagramActions extends dmAdminBaseActions { public function executeIndex(dmWebRequest $request) { $this->withDispatcherLinks = $request->getParameter('with_dispatcher_links'); $this->loadServiceContainerDumper(); $this->dicImages = array(); try { foreach(array...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmDiagram/templates/indexSuccess.php
dmAdminPlugin/modules/dmDiagram/templates/indexSuccess.php
<style type="text/css"> div.full_width_image { width: 100%; height: 450px; } div.full_width_image img.panview { cursor: move; } </style> <?php if (!empty($mldProjectImage)) { echo _tag('div.dm_box.big.diagram', _tag('div.title', _tag('h2', __('Project Database')._link($mldProjectImage)->text(__('Down...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmDiagram/lib/dmDoctrineGraphviz.php
dmAdminPlugin/modules/dmDiagram/lib/dmDoctrineGraphviz.php
<?php class dmDoctrineGraphviz { protected $tables, $filesystem, $configuration; public function __construct(dmFilesystem $filesystem, sfApplicationConfiguration $configuration) { $this->filesystem = $filesystem; $this->configuration = $configuration; // ensure DmSetting is loaded new...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmDiagram/lib/dmServiceContainerDumperGraphviz.php
dmAdminPlugin/modules/dmDiagram/lib/dmServiceContainerDumperGraphviz.php
<?php class dmServiceContainerDumperGraphviz extends sfServiceContainerDumperGraphviz { protected $dispatcherLinksEnabled = true; public function enableDispatcherLinks($val) { $this->dispatcherLinksEnabled = (bool) $val; } protected function addEdges() { $code = ''; foreach ($this->edge...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmAdminGenerator/actions/actions.class.php
dmAdminPlugin/modules/dmAdminGenerator/actions/actions.class.php
<?php class dmAdminGeneratorActions extends dmAdminBaseActions { public function executeRevert(dmWebRequest $request) { $model = $request->getParameter('model'); $pk = $request->getParameter('pk'); $version = $request->getParameter('version'); $this->forward404Unless($record = dmD...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmAdminGenerator/templates/_markdown.php
dmAdminPlugin/modules/dmAdminGenerator/templates/_markdown.php
<?php use_stylesheet('lib.markitup'); use_stylesheet('lib.markitupSet'); use_stylesheet('lib.ui-resizable'); use_javascript('lib.ui-resizable'); use_javascript('lib.markitup'); use_javascript('lib.markitupSet'); use_javascript('core.markdown'); $uniqueCode = dmString::random(); $attributes = array_m...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmAdminGenerator/templates/_sortTree.php
dmAdminPlugin/modules/dmAdminGenerator/templates/_sortTree.php
<?php use_javascript('lib.jstree'); use_javascript('admin.modelTree'); echo _open('div.dm_sort.dm_box.big'); //echo _tag('h1.title', __('Sort %1%', array('%1%' => $form->getModule()->getPlural()))); echo _open('div.dm_box_inner'); echo _open('div#dm_full_model_tree.clearfix.dm'); echo $tree->render()...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmAdminGenerator/templates/_sortReferers.php
dmAdminPlugin/modules/dmAdminGenerator/templates/_sortReferers.php
<?php use_stylesheet('admin.sort'); use_javascript('lib.ui-sortable'); use_javascript('admin.sort'); $submit = _tag('div.text_align_right', _tag('span.info', __('Drag & drop elements, then')). $form->renderSubmitTag(__('Save modifications')) ); //echo $form->renderGlobalErrors(); echo _open('div.dm_sort.dm_box....
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmAdminGenerator/templates/_sort.php
dmAdminPlugin/modules/dmAdminGenerator/templates/_sort.php
<?php use_stylesheet('admin.sort'); use_javascript('lib.ui-sortable'); use_javascript('admin.sort'); $submit = _tag('div.text_align_right', _tag('span.info', __('Drag & drop elements, then')). $form->renderSubmitTag(__('Save modifications')) ); //echo $form->renderGlobalErrors(); echo _open('div.dm_sort.dm_box....
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmAdminGenerator/templates/_history.php
dmAdminPlugin/modules/dmAdminGenerator/templates/_history.php
<?php use_helper('Date'); if (!count($revisions)) { echo _tag('h2.mt40.text_align_center', __('No revision for %1% with culture "%2%"', array( '%1%' => $record, '%2%' => $sf_user->getCulture() ))); return; } use_javascript('lib.ui-tabs'); use_stylesheet('lib.ui-tabs'); use_javascript('admin.history'); ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmConfigPanel/actions/actions.class.php
dmAdminPlugin/modules/dmConfigPanel/actions/actions.class.php
<?php class dmConfigPanelActions extends dmAdminBaseActions { public function executeIndex(dmWebRequest $request) { $this->form = new dmConfigForm; $this->settings = dmDb::table('DmSetting')->fetchGrouped(); $this->groups = array(); foreach($this->settings as $group => $settings) { if...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmConfigPanel/templates/indexSuccess.php
dmAdminPlugin/modules/dmConfigPanel/templates/indexSuccess.php
<?php use_stylesheet('lib.ui-tabs'); use_stylesheet('admin.configPanel'); use_javascript('lib.ui-tabs'); use_javascript('core.tabForm'); use_javascript('admin.configPanel'); echo _open('div.dm_config_panel.mt10'); echo _open('ul'); foreach($groups as $group) { echo _tag('li', sprintf('<a href="#%s">%s</a>', 'dm_set...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmCatalogue/actions/actions.class.php
dmAdminPlugin/modules/dmCatalogue/actions/actions.class.php
<?php require_once dirname(__FILE__).'/../lib/dmCatalogueGeneratorConfiguration.class.php'; require_once dirname(__FILE__).'/../lib/dmCatalogueGeneratorHelper.class.php'; /** * dmCatalogue actions. * * @package diem * @subpackage dmCatalogue * @author Your name here * @version SVN: $Id: actions.class....
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmCatalogue/lib/DmCatalogueAdminExport.class.php
dmAdminPlugin/modules/dmCatalogue/lib/DmCatalogueAdminExport.class.php
<?php /** * dmTransUnit module configuration. * * @package lantenora * @subpackage dmTransUnit * @author thibault d * @version SVN: $Id: form.php 12474 2008-10-31 10:41:27Z fabien $ */ class DmCatalogueAdminExport extends myDoctrineTableExport { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmCatalogue/lib/dmCatalogueGeneratorConfiguration.class.php
dmAdminPlugin/modules/dmCatalogue/lib/dmCatalogueGeneratorConfiguration.class.php
<?php /** * dmCatalogue module configuration. * * @package diem * @subpackage dmCatalogue * @author Your name here * @version SVN: $Id: configuration.php 12474 2008-10-31 10:41:27Z fabien $ */ class dmCatalogueGeneratorConfiguration extends BaseDmCatalogueGeneratorConfiguration { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmCatalogue/lib/dmCatalogueAdminForm.php
dmAdminPlugin/modules/dmCatalogue/lib/dmCatalogueAdminForm.php
<?php /** * catalogue admin form * * @package invenzzia * @subpackage catalogue * @author Your name here */ class dmCatalogueAdminForm extends BasedmCatalogueForm { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmCatalogue/lib/dmCatalogueImportForm.class.php
dmAdminPlugin/modules/dmCatalogue/lib/dmCatalogueImportForm.class.php
<?php class dmCatalogueImportForm extends dmForm { public function configure() { parent::configure(); $this->widgetSchema['file'] = new sfWidgetFormDmInputFile(); $this->widgetSchema['override'] = new sfWidgetFormInputCheckbox(); $this->widgetSchema['override']->setLabel('Override?'); $...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmCatalogue/lib/dmCatalogueGeneratorHelper.class.php
dmAdminPlugin/modules/dmCatalogue/lib/dmCatalogueGeneratorHelper.class.php
<?php /** * dmCatalogue module helper. * * @package diem * @subpackage dmCatalogue * @author Your name here * @version SVN: $Id: configuration.php 12474 2008-10-31 10:41:27Z fabien $ */ class dmCatalogueGeneratorHelper extends BaseDmCatalogueGeneratorHelper { public function linkToExportSentences($o...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmInterface/actions/actions.class.php
dmAdminPlugin/modules/dmInterface/actions/actions.class.php
<?php include_once(dmOs::join(sfConfig::get('dm_core_dir'), 'modules/dmInterface/lib/BasedmInterfaceActions.php')); class dmInterfaceActions extends BasedmInterfaceActions { public function executeLoadPageTree(dmWebRequest $request) { return $this->renderAsync(array( 'html' => $this->getService('page_...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmInterface/templates/_pageBar.php
dmAdminPlugin/modules/dmInterface/templates/_pageBar.php
<?php echo _open('div#dm_page_bar.dm'); echo _tag('p.title', __('Site tree')._link('dmPage/reorderPages')->text(__('Edit'))->set('.fright.mr10.s16.s16_sort')); echo '<div id="dm_page_tree" class="dm_tree"></div>'; echo _close('div'); echo '<div id="dm_page_bar_toggler"></div>';
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmInterface/templates/_flash.php
dmAdminPlugin/modules/dmInterface/templates/_flash.php
<?php $html = ''; foreach(array('info', 'notice', 'alert', 'error') as $log_type) { foreach(array('dm_log_', '') as $prefix) { if (count($messages = (array) $sf_user->getFlash($prefix.$log_type))) { $class = $log_type === 'notice' ? 'info' : $log_type; $html .= _open("ul.flashs.".$class.'s'); ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmInterface/templates/_toolBar.php
dmAdminPlugin/modules/dmInterface/templates/_toolBar.php
<?php echo $sf_context->get('tool_bar_view')->render();
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLog/actions/actions.class.php
dmAdminPlugin/modules/dmLog/actions/actions.class.php
<?php class dmLogActions extends dmAdminBaseActions { protected function getLogs() { $logs = array(); $sc = $this->getServiceContainer(); foreach($sc->getServiceIds() as $serviceId) { if (substr($serviceId, -4) === '_log') { $log = $sc->getService($serviceId); ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLog/actions/components.class.php
dmAdminPlugin/modules/dmLog/actions/components.class.php
<?php class dmLogComponents extends dmAdminBaseComponents { public function executeLittle() { $this->logKey = $this->name; $this->log = $this->getService($this->name.'_log'); $this->logView = $this->getServiceContainer() ->setParameter('log_view.class', get_class($this->log).'ViewLittl...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLog/templates/showSuccess.php
dmAdminPlugin/modules/dmLog/templates/showSuccess.php
<?php echo _tag('div.dm_log.dm_data', $logView->render() );
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLog/templates/_little.php
dmAdminPlugin/modules/dmLog/templates/_little.php
<?php use_stylesheet('core.browsers'); use_stylesheet('admin.dataTable'); use_stylesheet('admin.log'); use_javascript('admin.logs'); echo _tag('div.dm_box.log.'.$logKey.'_log', _tag('div.title', _link('@dm_log')->param('name', $logKey)->set('.s16block.s16_arrow_up_right')->textTitle(__('Expanded view')). _t...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLog/templates/indexSuccess.php
dmAdminPlugin/modules/dmLog/templates/indexSuccess.php
<?php echo _open('div.dm_logs.mt10', array('json' => array( 'selected' => $selectedIndex ))); echo _open('ul'); foreach($logs as $logKey => $log) { echo _tag('li', _link('@dm_log?action=show&name='.$logKey) ->text(__($log->getName())) ->set('.dm_log_link') ); } echo _close('ul'); echo _close('div')...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmConsole/actions/actions.class.php
dmAdminPlugin/modules/dmConsole/actions/actions.class.php
<?php /** * dmMedia actions. * * @package diem * @subpackage dmMedia * @author Your name here * @version SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $ */ class dmConsoleActions extends dmAdminBaseActions { protected static $defaultCommands = 'sf man ll ls pwd cat mkdir rm cp ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmConsole/templates/indexSuccess.php
dmAdminPlugin/modules/dmConsole/templates/indexSuccess.php
<?php echo _open('div#dm_console.mt10'); echo _open('ul#dm_lines'); echo _tag("li.dm_command_intro", sprintf(__("Logged as %s on %s"), $whoami, $uname)); echo _tag("li.dm_command_intro", str_repeat("-", 20)); echo _tag("li.dm_command_intro", __("Current working directory: ").$pwd); echo _tag("li.dm_c...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmConsole/lib/dmAnsiColorFormatHtmlRenderer.class.php
dmAdminPlugin/modules/dmConsole/lib/dmAnsiColorFormatHtmlRenderer.class.php
<?php /** * sfAnsiColorFormatter provides methods to colorize text to be displayed on a console. * * @package diem * @subpackage dmConsole * @author Anton Stoychev */ class dmAnsiColorFormatHtmlRenderer { protected static $map = array( 1=>'bold', 32=>'green', 33=>'brown', ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSeoValidation/actions/actions.class.php
dmAdminPlugin/modules/dmSeoValidation/actions/actions.class.php
<?php class dmSeoValidationActions extends dmAdminBaseActions { public function executeIndex(sfWebRequest $request) { $this->duplicated = $this->context->getCacheManager()->getCache('dm/seo/validation')->get('duplicated'); } }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSeoValidation/templates/_pageActions.php
dmAdminPlugin/modules/dmSeoValidation/templates/_pageActions.php
<?php $module = $page->getDmModule(); echo _tag('p.type', sprintf('%s : %s', $page->getIsAutomatic() ? __('Automatic page') : __('Manual page'), $page->getModuleAction() )); echo _open('ul'); if ($page->getIsAutomatic()) { $record = $page->getRecord(); echo _tag('li', _link($record)->text(sprintf('%s "%s" (...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSeoValidation/templates/indexSuccess.php
dmAdminPlugin/modules/dmSeoValidation/templates/indexSuccess.php
<?php echo _open('div.dm_box.big.seo_validation'); echo _tag('h1.title', __('Seo improvements')); echo _open('div.dm_box_inner'); foreach($duplicated as $meta => $values) { echo _tag('h2', ucfirst(__('Duplicated %1%', array('%1%' => dmString::pluralize($meta))))); echo _open('div.dm_table_wrap')._open('table.dm...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSearchEngine/actions/actions.class.php
dmAdminPlugin/modules/dmSearchEngine/actions/actions.class.php
<?php class dmSearchEngineActions extends dmAdminBaseActions { public function executeIndex(dmWebRequest $request) { $this->engine = $this->getService('search_engine'); $this->form = $this->getSearchForm(); $params = $request->getParameter($this->form->getName()); if ($this->query = tri...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSearchEngine/templates/_results.php
dmAdminPlugin/modules/dmSearchEngine/templates/_results.php
<?php if (!$pager) { echo _tag('h2', __('No results')); return; } //include_partial('pager', array('pager' => $pager)); echo _tag('h2', __('%1% - %2% of %3%', array('%1%' => $pager->getFirstIndice(), '%2%' => $pager->getLastIndice(), '%3%' => $pager->getNbResults())) ); echo _open("ol.search_results.clearfix ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSearchEngine/templates/_state.php
dmAdminPlugin/modules/dmSearchEngine/templates/_state.php
<?php $indices = array(); foreach($engine->getIndices() as $name => $index) { $description = $index->describe(); $indices[sprintf('%s', ucfirst(format_language($index->getCulture())))] = _tag('div.clearfix', _tag('span.fleft.s16.s16_file_text style=width:100px', $description['Documents'].' '.__('Pages')...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSearchEngine/templates/indexSuccess.php
dmAdminPlugin/modules/dmSearchEngine/templates/indexSuccess.php
<?php echo _open('div.dm_box.big.search_engine'); echo _tag('h1.title', __('Internal search engine')); echo _open('div.dm_box_inner'); echo _tag('div.search_actions.clearfix', _tag('div.dm_third', _tag('h2.mb10', __('Search')). $form->open('method=get'). $form['query']->label(null, '.mr10')->field()->...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSearchEngine/templates/_pager.php
dmAdminPlugin/modules/dmSearchEngine/templates/_pager.php
<?php if (!$pager->haveToPaginate()) { return; } echo _open("div.search_pager"); if (!$pager->atFirstPage()) { echo _link('dmSearchEngine/search'.$pager->getPageUrl($pager->getPreviousPage())) ->text("Précédent") ->format(false); } foreach ($pager->getLinks(5) as $link) { if ($link == $pager->getPage()...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLayout/actions/actions.class.php
dmAdminPlugin/modules/dmLayout/actions/actions.class.php
<?php require_once dirname(__FILE__).'/../lib/dmLayoutGeneratorConfiguration.class.php'; require_once dirname(__FILE__).'/../lib/dmLayoutGeneratorHelper.class.php'; /** * dmLayout actions. * * @package diem * @subpackage dmLayout * @author Your name here * @version SVN: $Id: actions.class.php 12474 20...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLayout/templates/_duplicate.php
dmAdminPlugin/modules/dmLayout/templates/_duplicate.php
<?php echo _link('+/dmLayout/duplicate?id='.$dm_layout->get('id')) ->set('.s16.s16_arrow_split.block') ->text(__('Duplicate'));
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLayout/templates/_content.php
dmAdminPlugin/modules/dmLayout/templates/_content.php
<?php echo _open('ul'); foreach($dm_layout->get('Areas') as $area) { if (!$area->get('Zones')->count()) { continue; } $widgets = array(); foreach($area->get('Zones') as $zone) { foreach($zone->get('Widgets') as $widget) { try { $widgetType = $sf_context->get('widget_type_m...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLayout/lib/DmLayoutAdminForm.class.php
dmAdminPlugin/modules/dmLayout/lib/DmLayoutAdminForm.class.php
<?php /** * dmLayout module configuration. * * @package diem * @subpackage dmLayout * @author Your name here * @version SVN: $Id: form.php 12474 2008-10-31 10:41:27Z fabien $ */ class DmLayoutAdminForm extends BaseDmLayoutForm { public function configure() { // foreach(array('top', 'bottom', '...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLayout/lib/dmLayoutGeneratorHelper.class.php
dmAdminPlugin/modules/dmLayout/lib/dmLayoutGeneratorHelper.class.php
<?php /** * dmLayout module helper. * * @package diem * @subpackage dmLayout * @author Your name here * @version SVN: $Id: helper.php 12474 2008-10-31 10:41:27Z fabien $ */ class dmLayoutGeneratorHelper extends BaseDmLayoutGeneratorHelper { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmLayout/lib/dmLayoutGeneratorConfiguration.class.php
dmAdminPlugin/modules/dmLayout/lib/dmLayoutGeneratorConfiguration.class.php
<?php /** * dmLayout module configuration. * * @package diem * @subpackage dmLayout * @author Your name here * @version SVN: $Id: configuration.php 12474 2008-10-31 10:41:27Z fabien $ */ class dmLayoutGeneratorConfiguration extends BaseDmLayoutGeneratorConfiguration { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/actions/actions.class.php
dmAdminPlugin/modules/dmPage/actions/actions.class.php
<?php require_once(dmOs::join(sfConfig::get('dm_admin_dir').'/modules/dmPage/lib/BasedmPageActions.class.php')); class dmPageActions extends BasedmPageActions { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/templates/manageMetasSuccess.php
dmAdminPlugin/modules/dmPage/templates/manageMetasSuccess.php
<?php echo _open('div.dm_page_manager.ui-tabs.ui-widget.ui-widget-content.ui-corner-all.mt10'); include_partial('dmPage/tabs'); echo once_per_session( _tag('p.help_box', _tag('span.s16.s16_help.block', __('Choose columns to display in the table.'))) ); echo $form->open('.dm_meta_fields.ui-corner-all'). $form['fie...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/templates/reorderPagesSuccess.php
dmAdminPlugin/modules/dmPage/templates/reorderPagesSuccess.php
<?php echo _open('div.dm_page_manager.ui-tabs.ui-widget.ui-widget-content.ui-corner-all.mt10'); include_partial('dmPage/tabs'); echo once_per_session( _tag('p.help_box', _tag('span.s16.s16_help.block', __('Drag pages around to move and sort them.'))) ); echo _tag('div#dm_full_page_tree.clearfix.dm', array('json' ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/templates/indexSuccess.php
dmAdminPlugin/modules/dmPage/templates/indexSuccess.php
<?php echo _open('div.dm_page_manager.ui-tabs.ui-widget.ui-widget-content.ui-corner-all.mt10'); include_partial('dmPage/tabs'); echo _close('div');
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/templates/_tabs.php
dmAdminPlugin/modules/dmPage/templates/_tabs.php
<?php $current = isset($current) ? $current : null; echo _open('ul.dm_page_manager_list.ui-tabs-nav.ui-helper-reset.ui-helper-clearfix.ui-widget-header.ui-corner-all'); foreach(array('manageMetas' => 'Manage metas', 'reorderPages' => 'Reorder pages') as $action => $actionName) { echo _tag('li.dm_page_manager_link....
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/lib/BasedmPageActions.class.php
dmAdminPlugin/modules/dmPage/lib/BasedmPageActions.class.php
<?php class BasedmPageActions extends dmAdminBaseActions { public function executeIndex(dmWebRequest $request) { $this->redirect('dmPage/reorderPages'); } public function executeManageMetas(sfWebRequest $request) { $this->pageMetaView = new dmAdminPageMetaView($this->getHelper(), $this->getI18n());...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/lib/dmAdminFullPageTreeView.php
dmAdminPlugin/modules/dmPage/lib/dmAdminFullPageTreeView.php
<?php class dmAdminFullPageTreeView extends dmAdminPageTreeView { protected function renderOpenLi(array $page) { if($page[1] === 'show') { $type = 'auto'; } else { $type = $this->lastLevel === false ? 'root' : 'manual'; } return '<li id="dmp'.$page[0].'" rel="'.$type.'...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/lib/dmAdminPageMetaFieldsForm.php
dmAdminPlugin/modules/dmPage/lib/dmAdminPageMetaFieldsForm.php
<?php class dmAdminPageMetaFieldsForm extends dmForm { protected $metaView; /** * @see sfForm */ public function __construct(dmAdminPageMetaView $metaView, $options = array(), $CSRFSecret = null) { $this->metaView = $metaView; return parent::__construct(array(), $options, $CSRFSecret); ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmPage/lib/dmAdminPageMetaView.php
dmAdminPlugin/modules/dmPage/lib/dmAdminPageMetaView.php
<?php class dmAdminPageMetaView { protected $helper, $i18n, $page, $availableFields = array( 'lft' => 'Position', 'name' => 'Name', 'slug' => 'Url', 'title' => 'Title', 'h1' => 'H1', 'description' => 'Description', 'keywords' => 'Keywords', 'is_active' => 'Available', 'is_...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSentMail/actions/actions.class.php
dmAdminPlugin/modules/dmSentMail/actions/actions.class.php
<?php require_once dirname(__FILE__).'/../lib/dmSentMailGeneratorConfiguration.class.php'; require_once dirname(__FILE__).'/../lib/dmSentMailGeneratorHelper.class.php'; /** * dmSentMail actions. * * @package diem * @subpackage dmSentMail * @author Your name here * @version SVN: $Id: actions.class.php ...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSentMail/templates/_infos.php
dmAdminPlugin/modules/dmSentMail/templates/_infos.php
<?php use_stylesheet('admin.dataTable'); use_helper('Date'); $mail = $dmSentMail; echo _tag('div.dm_data', _table()->useStrip(true) ->body('From', $mail->from_email) ->body('To', $mail->to_email) ->body('CC', $mail->cc_email) ->body('BCC', $mail->bcc_email) ->body('Sender', $mail->sender_email) ->body('...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSentMail/templates/_debug.php
dmAdminPlugin/modules/dmSentMail/templates/_debug.php
<?php echo _tag('pre', $dmSentMail->debug_string);
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSentMail/templates/_content.php
dmAdminPlugin/modules/dmSentMail/templates/_content.php
<?php echo _tag('strong', $dmSentMail->subject); echo _tag('div.mt10', nl2br($dmSentMail->body));
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSentMail/lib/dmSentMailGeneratorConfiguration.class.php
dmAdminPlugin/modules/dmSentMail/lib/dmSentMailGeneratorConfiguration.class.php
<?php /** * dmSentMail module configuration. * * @package diem * @subpackage dmSentMail * @author Your name here * @version SVN: $Id: configuration.php 12474 2008-10-31 10:41:27Z fabien $ */ class dmSentMailGeneratorConfiguration extends BaseDmSentMailGeneratorConfiguration { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSentMail/lib/DmSentMailAdminForm.class.php
dmAdminPlugin/modules/dmSentMail/lib/DmSentMailAdminForm.class.php
<?php /** * dmSentMail module configuration. * * @package diem * @subpackage dmSentMail * @author Your name here * @version SVN: $Id: form.php 12474 2008-10-31 10:41:27Z fabien $ */ class DmSentMailAdminForm extends BaseDmSentMailForm { public function configure() { parent::configure(); } }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmSentMail/lib/dmSentMailGeneratorHelper.class.php
dmAdminPlugin/modules/dmSentMail/lib/dmSentMailGeneratorHelper.class.php
<?php /** * dmSentMail module helper. * * @package diem * @subpackage dmSentMail * @author Your name here * @version SVN: $Id: helper.php 12474 2008-10-31 10:41:27Z fabien $ */ class dmSentMailGeneratorHelper extends BaseDmSentMailGeneratorHelper { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmMedia/actions/actions.class.php
dmAdminPlugin/modules/dmMedia/actions/actions.class.php
<?php require_once(dmOs::join(sfConfig::get('dm_admin_dir').'/modules/dmMedia/lib/BasedmMediaActions.class.php')); class dmMediaActions extends BasedmMediaActions { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmMedia/templates/_galleryMedium.php
dmAdminPlugin/modules/dmMedia/templates/_galleryMedium.php
<?php if(!$record->exists()) { echo _tag('p.help_box', _tag('span.s16.s16_help.block', __('Save this %1% to access to the gallery', array( '%1%' => dmString::lcfirst(__($record->getDmModule()->getName())) )) )); return; } $link = _link('+/dmMedia/gallery?model='.get_class($record).'&pk='.$recor...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmMedia/templates/_viewLittle.php
dmAdminPlugin/modules/dmMedia/templates/_viewLittle.php
<?php if (!$object || $object->isNew()) { return; } echo // _link($object->fullWebPath)->text( ($object->isImage() ? _media($object)->size(100, 60) : _media('dmCore/media/unknown.png')->size(64, 64) ) // ) ;
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmMedia/templates/_viewBig.php
dmAdminPlugin/modules/dmMedia/templates/_viewBig.php
<?php if (!$object || !$object->id) { return; } use_helper('Date', 'DmMedia'); echo _open('div.dm_media_file'); echo _tag('h3.title.none', $object->getFile()); echo _open('div.clearfix'); echo _tag('div.view', _link($object->getFullWebPath())->text( $object->isImage() ? _media($object)->size(250, 1...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmMedia/templates/_galleryLittle.php
dmAdminPlugin/modules/dmMedia/templates/_galleryLittle.php
<?php use_helper('DmMedia'); echo _open('div.dm_gallery_little.clearfix'); foreach($record->getDmGallery() as $media) { echo media_file_image_tag($media, array( 'width' => 40, 'height' => 40, 'class' => 'media' )); } echo _close('div');
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmMedia/templates/gallerySuccess.php
dmAdminPlugin/modules/dmMedia/templates/gallerySuccess.php
<?php use_javascript('lib.ui-sortable'); use_stylesheet('admin.gallery'); use_javascript('lib.ui-sortable'); use_javascript('admin.gallery'); echo _open('div.dm_gallery_big', array('json' => $galleryOptions)); echo $addByIdForm->open('action=dmMedia/addToGalleryById'). $addByIdForm['media_id']->field(). $addByIdFor...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmMedia/lib/AddMediaByIdForm.php
dmAdminPlugin/modules/dmMedia/lib/AddMediaByIdForm.php
<?php class AddMediaByIdForm extends dmForm { protected $record; public function __construct(dmDoctrineRecord $record = null) { $this->record = $record; parent::__construct(); } public function configure() { $this->widgetSchema['media_id'] = new sfWidgetFormInputHidden(); $this->va...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/modules/dmMedia/lib/BasedmMediaActions.class.php
dmAdminPlugin/modules/dmMedia/lib/BasedmMediaActions.class.php
<?php class BasedmMediaActions extends dmAdminBaseActions { public function executePreview(sfWebRequest $request) { $this->forward404Unless( $media = dmDb::table('DmMedia')->findOneByIdWithFolder($request->getParameter('id')) ); return $this->renderPartial('dmMedia/viewBig', array('object' => $...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/webService/dmDiemVersionCheck.php
dmAdminPlugin/lib/webService/dmDiemVersionCheck.php
<?php class dmDiemVersionCheck extends dmConfigurable { protected $serviceContainer, $cache; public function __construct(dmBaseServiceContainer $serviceContainer, array $options) { $this->serviceContainer = $serviceContainer; $this->initialize($options); } protected function initialize(array $...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/webService/dmReportAnonymousData.php
dmAdminPlugin/lib/webService/dmReportAnonymousData.php
<?php class dmReportAnonymousData extends dmConfigurable { protected $serviceContainer; public function __construct(dmBaseServiceContainer $serviceContainer, array $options) { $this->serviceContainer = $serviceContainer; $this->initialize($options); } protected function initialize(array $options...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/webService/gapi/dmGapiReportEntry.php
dmAdminPlugin/lib/webService/gapi/dmGapiReportEntry.php
<?php class dmGapiReportEntry extends gapiReportEntry { public function getMetric($name) { return $this->metrics[$name]; } public function getDimension($name) { return $this->dimensions[$name]; } public function get($name) { if (isset($this->metrics[$name])) { return $thi...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/webService/gapi/dmGapi.php
dmAdminPlugin/lib/webService/gapi/dmGapi.php
<?php require_once(dmOs::join(sfConfig::get('dm_core_dir'), 'lib/vendor/gapi/gapi.class.php')); class dmGapi extends gapi { protected $cacheManager, $reportId, $defaultReportOptions; public function __construct(dmCacheManager $cacheManager) { $this->cacheManager = $cacheManager; } /** * Set u...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/webService/gapi/dmGapiException.php
dmAdminPlugin/lib/webService/gapi/dmGapiException.php
<?php class dmGapiException extends dmException { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/service/dmAdminBaseServiceContainer.php
dmAdminPlugin/lib/service/dmAdminBaseServiceContainer.php
<?php abstract class dmAdminBaseServiceContainer extends dmBaseServiceContainer { protected function connectServices() { parent::connectServices(); $this->getService('bread_crumb')->connect(); } }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/filter/dmAdminInitFilter.php
dmAdminPlugin/lib/filter/dmAdminInitFilter.php
<?php class dmAdminInitFilter extends dmInitFilter { /** * Executes this filter. * * @param sfFilterChain $filterChain A sfFilterChain instance */ public function execute($filterChain) { if($this->request->getParameter('dm_embed')) { sfConfig::set('dm_admin_embedded', true); sfCo...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/routing/dmAdminRouting.php
dmAdminPlugin/lib/routing/dmAdminRouting.php
<?php class dmAdminRouting extends dmPatternRouting { protected $mediaFolderPathBaseUrl; public function getModuleTypeUrl(dmModuleType $type) { return '@dm_module_type?moduleTypeName='.dmString::slugify($type->getPublicName()); } public function getModuleSpaceUrl(dmModuleSpace $space) { ret...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/user/dmAdminUser.php
dmAdminPlugin/lib/user/dmAdminUser.php
<?php class dmAdminUser extends dmCoreUser { protected $theme, $moduleManager, $availableModules = array(); public function listenToContextLoadedEvent(sfEvent $e) { parent::listenToContextLoadedEvent($e); $this->setModuleManager($e->getSubject()->getModuleManager()); $this->setThem...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/generator/dmAdminModelGeneratorHelper.php
dmAdminPlugin/lib/generator/dmAdminModelGeneratorHelper.php
<?php abstract class dmAdminModelGeneratorHelper extends sfModelGeneratorHelper { /** * @var DmModule */ protected $module; /** * @var dmAdminBaseGeneratedModuleActions */ protected $action; public function __construct(dmModule $module) { $this->module = $module; } public function g...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/generator/dmModelGeneratorConfiguration.php
dmAdminPlugin/lib/generator/dmModelGeneratorConfiguration.php
<?php abstract class dmModelGeneratorConfiguration extends sfModelGeneratorConfiguration { const DEFAULT_LIST_TRUNCATE = 80; protected function compile() { $config = $this->getConfig(); // inheritance rules: // new|edit < form < default // list < default // filter < default $this->configuration = arra...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/generator/dmAdminDoctrineGenerator.php
dmAdminPlugin/lib/generator/dmAdminDoctrineGenerator.php
<?php class dmAdminDoctrineGenerator extends sfDoctrineGenerator { protected $module, $moduleManager; /** * Initializes the current sfGenerator instance. * * @param sfGeneratorManager $generatorManager A sfGeneratorManager instance */ public function initialize(sfGeneratorManager $generatorMa...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/generator/myAdminModelGeneratorHelper.class.php
dmAdminPlugin/lib/generator/myAdminModelGeneratorHelper.class.php
<?php abstract class myAdminModelGeneratorHelper extends dmAdminModelGeneratorHelper { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/generator/dmModelGeneratorConfigurationField.class.php
dmAdminPlugin/lib/generator/dmModelGeneratorConfigurationField.class.php
<?php /** * Model generator field. * * @package symfony * @subpackage generator * @author Fabien Potencier <fabien.potencier@symfony-project.com> * @version SVN: $Id: sfModelGeneratorConfigurationField.class.php 17858 2009-05-01 21:22:50Z FabianLange $ */ class dmModelGeneratorConfigurationField exten...
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/action/myAdminBaseComponents.php
dmAdminPlugin/lib/action/myAdminBaseComponents.php
<?php class myAdminBaseComponents extends dmAdminBaseComponents { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/action/myAdminBaseGeneratedModuleActions.php
dmAdminPlugin/lib/action/myAdminBaseGeneratedModuleActions.php
<?php class myAdminBaseGeneratedModuleActions extends dmAdminBaseGeneratedModuleActions { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/action/base/dmAdminBaseComponents.php
dmAdminPlugin/lib/action/base/dmAdminBaseComponents.php
<?php class dmAdminBaseComponents extends dmBaseComponents { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false
diem-project/diem
https://github.com/diem-project/diem/blob/116974edfb9a5b8bd69cb13586dc62bcdbb485ad/dmAdminPlugin/lib/action/base/dmAdminBaseActions.php
dmAdminPlugin/lib/action/base/dmAdminBaseActions.php
<?php class dmAdminBaseActions extends dmBaseActions { }
php
MIT
116974edfb9a5b8bd69cb13586dc62bcdbb485ad
2026-01-05T03:16:57.015672Z
false